Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.ResistanceVolumeFlowReversal,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Examples_ResistanceVolumeFlowReversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.ResistanceVolumeFlowReversal,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Examples_ResistanceVolumeFlowReversal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.603/1.603, allocations: 285.4 MB / 298 MB, free: 5.984 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001615/0.001615, allocations: 180.8 kB / 366.4 MB, free: 2.098 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.773/1.773, allocations: 205.1 MB / 0.6248 GB, free: 7.75 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008231/0.0008229, allocations: 96.67 kB / 0.738 GB, free: 40.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.273e-05/4.279e-05, allocations: 4 kB / 0.8584 GB, free: 13.01 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7922/0.7922, allocations: 115.3 MB / 0.971 GB, free: 78 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.161/1.954, allocations: 420.3 MB / 1.381 GB, free: 139.5 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002751/1.954, allocations: 88.23 kB / 1.381 GB, free: 139.5 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.057/8.011, allocations: 1.449 GB / 2.83 GB, free: 121.1 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.885e-06/8.011, allocations: 2.781 kB / 2.83 GB, free: 121.1 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.001087/8.012, allocations: 152.2 kB / 2.831 GB, free: 121 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 835 * Number of variables: 835 Notification: Performance of Generate backend data structure: time 0.01765/8.03, allocations: 4.584 MB / 2.835 GB, free: 119.3 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 6.103e-05/8.03, allocations: 7.906 kB / 2.835 GB, free: 119.3 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001862/8.032, allocations: 464.6 kB / 2.836 GB, free: 119.3 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005524/8.037, allocations: 0.8069 MB / 2.836 GB, free: 119 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02007/8.057, allocations: 6.757 MB / 2.843 GB, free: 118.1 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003387/8.058, allocations: 264.5 kB / 2.843 GB, free: 118.1 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001338/8.059, allocations: 347.1 kB / 2.843 GB, free: 118.1 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009878/8.069, allocations: 5.281 MB / 2.849 GB, free: 117.4 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.752e-05/8.069, allocations: 11.69 kB / 2.849 GB, free: 117.4 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005827/8.07, allocations: 143.6 kB / 2.849 GB, free: 117.4 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.048e-05/8.07, allocations: 85.17 kB / 2.849 GB, free: 117.4 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007702/8.077, allocations: 4.923 MB / 2.854 GB, free: 117.4 MB / 0.9636 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03937/8.117, allocations: 22.71 MB / 2.876 GB, free: 107.4 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004569/8.121, allocations: 2.615 MB / 2.878 GB, free: 107.4 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002479/8.124, allocations: 1.714 MB / 2.88 GB, free: 107.4 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01456/8.138, allocations: 7.021 MB / 2.887 GB, free: 105.1 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002846/8.141, allocations: 1.787 MB / 2.889 GB, free: 105 MB / 0.9636 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007744/8.149, allocations: 2.026 MB / 2.891 GB, free: 104.9 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=157): time 1.837e-05/8.149, allocations: 0 / 2.891 GB, free: 104.9 MB / 0.9636 GB Notification: Performance of matching and sorting (n=157): time 0.01905/8.168, allocations: 5.562 MB / 2.896 GB, free: 104.6 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001182/8.168, allocations: 155 kB / 2.896 GB, free: 104.4 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01233/8.181, allocations: 4.522 MB / 2.901 GB, free: 104 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0009073/8.182, allocations: 70.83 kB / 2.901 GB, free: 104 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.003564/8.185, allocations: 2.442 MB / 2.903 GB, free: 103.2 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.001564/8.187, allocations: 0.5607 MB / 2.904 GB, free: 102.9 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006552/8.188, allocations: 52.75 kB / 2.904 GB, free: 102.9 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0003235/8.188, allocations: 414 kB / 2.904 GB, free: 102.6 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002866/8.191, allocations: 1.467 MB / 2.906 GB, free: 102.6 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003757/8.195, allocations: 2.769 MB / 2.908 GB, free: 101 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00359/8.198, allocations: 1.949 MB / 2.91 GB, free: 100.9 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.469e-05/8.198, allocations: 10.78 kB / 2.91 GB, free: 100.9 MB / 0.9636 GB Notification: Performance of matching and sorting (n=340) (initialization): time 0.03301/8.231, allocations: 7.965 MB / 2.918 GB, free: 100.5 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.004556/8.236, allocations: 15.28 MB / 2.933 GB, free: 84.17 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001402/8.236, allocations: 34.03 kB / 2.933 GB, free: 84.17 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.09284/8.329, allocations: 15.4 MB / 2.948 GB, free: 83.7 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003277/8.332, allocations: 0.6917 MB / 2.949 GB, free: 83.7 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007284/8.34, allocations: 4.721 MB / 2.953 GB, free: 82.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006566/8.346, allocations: 368.1 kB / 2.954 GB, free: 82.05 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007685/8.347, allocations: 156.4 kB / 2.954 GB, free: 82.05 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/8.347, allocations: 3.812 kB / 2.954 GB, free: 82.05 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0294/8.376, allocations: 7.455 MB / 2.961 GB, free: 81.83 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001337/8.377, allocations: 32.59 kB / 2.961 GB, free: 81.83 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.09001/8.467, allocations: 15.32 MB / 2.976 GB, free: 80.3 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00322/8.47, allocations: 0.6976 MB / 2.977 GB, free: 80.25 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01069/8.481, allocations: 7.694 MB / 2.984 GB, free: 75.53 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006214/8.487, allocations: 349.4 kB / 2.985 GB, free: 75.43 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007622/8.488, allocations: 156.3 kB / 2.985 GB, free: 75.41 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 147 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,allowFlowReversal.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (287): * Single equations (assignments): 280 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {11 13,10 11,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.001075/8.489, allocations: 293 kB / 2.985 GB, free: 75.16 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001825/8.491, allocations: 463.5 kB / 2.985 GB, free: 74.92 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02286/8.513, allocations: 6.597 MB / 2.992 GB, free: 73.17 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.923e-05/8.514, allocations: 18.83 kB / 2.992 GB, free: 73.17 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.178e-06/8.514, allocations: 3.406 kB / 2.992 GB, free: 73.17 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01273/8.526, allocations: 6.376 MB / 2.998 GB, free: 70.13 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03198/8.558, allocations: 13.02 MB / 3.011 GB, free: 58.62 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.283e-05/8.558, allocations: 0 / 3.011 GB, free: 58.62 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002607/8.561, allocations: 431.5 kB / 3.011 GB, free: 58.2 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06346/8.625, allocations: 11.63 MB / 3.023 GB, free: 46.64 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005869/8.625, allocations: 47.97 kB / 3.023 GB, free: 46.59 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005974/8.631, allocations: 4.111 MB / 3.027 GB, free: 42.41 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/8.631, allocations: 3.5 kB / 3.027 GB, free: 42.41 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01939/8.651, allocations: 9.018 MB / 3.035 GB, free: 33.39 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0048/8.655, allocations: 1.1 MB / 3.036 GB, free: 32.26 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001602/8.657, allocations: 36 kB / 3.037 GB, free: 32.23 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003906/8.661, allocations: 299.1 kB / 3.037 GB, free: 31.93 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003254/8.661, allocations: 105.1 kB / 3.037 GB, free: 31.83 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002497/8.662, allocations: 87.92 kB / 3.037 GB, free: 31.74 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0056/8.667, allocations: 3.468 MB / 3.04 GB, free: 28.29 MB / 0.9636 GB Notification: Performance of sort global known variables: time 9.61e-07/8.667, allocations: 0 / 3.04 GB, free: 28.29 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.01155/8.679, allocations: 2.815 MB / 3.043 GB, free: 25.47 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (pump.vol.dynBal.U,hea.outCon.T,val.filter.x[1],val.filter.x[2]) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (129): * Single equations (assignments): 120 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {10 3,2 5,10 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.02212/8.701, allocations: 10.7 MB / 3.054 GB, free: 14.86 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.01626/8.717, allocations: 7.342 MB / 3.061 GB, free: 7.477 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.048e-05/8.717, allocations: 8.953 kB / 3.061 GB, free: 7.469 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.004975/8.722, allocations: 2.419 MB / 3.063 GB, free: 5.051 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01513/8.737, allocations: 2.714 MB / 3.066 GB, free: 2.43 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02842/8.766, allocations: 9.107 MB / 3.075 GB, free: 9.281 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00303/8.769, allocations: 3.311 MB / 3.078 GB, free: 5.941 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.01066/8.78, allocations: 3.001 MB / 3.081 GB, free: 3.051 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003443/8.783, allocations: 1.916 MB / 3.083 GB, free: 1.137 MB / 0.9792 GB Notification: Performance of SimCode: time 1.273e-06/8.783, allocations: 0 / 3.083 GB, free: 1.137 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.118/9.902, allocations: 167.7 MB / 3.246 GB, free: 124.4 MB / 0.9792 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001861/9.902, allocations: 236.5 kB / 3.247 GB, free: 124.1 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.929/17.83, allocations: 7.656 kB / 3.247 GB, free: 124.1 MB / 0.9792 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Examples_ResistanceVolumeFlowReversal_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Examples_ResistanceVolumeFlowReversal.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.pipe 2>&1)