Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009985/0.0009986, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006454/0.006454, allocations: 169.9 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 223.3 MB / 240.3 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.851/2.851, allocations: 473.4 MB / 0.7469 GB, free: 6.098 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005326/0.0005328, allocations: 7.031 kB / 0.9158 GB, free: 33.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4226/0.4231, allocations: 162.2 MB / 1.074 GB, free: 7.578 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.04705/0.4702, allocations: 48.46 MB / 1.121 GB, free: 6.949 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01998/0.4903, allocations: 12.58 MB / 1.134 GB, free: 10.34 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003362/0.4937, allocations: 67.5 kB / 1.134 GB, free: 10.27 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.002313/0.496, allocations: 0.6174 MB / 1.134 GB, free: 9.648 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.005746/0.5018, allocations: 1.695 MB / 1.136 GB, free: 7.945 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003681/0.5055, allocations: 1.216 MB / 1.137 GB, free: 6.746 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.005836/0.5113, allocations: 4.368 MB / 1.142 GB, free: 2.363 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001775/0.5131, allocations: 1.027 MB / 1.143 GB, free: 1.309 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002544/0.5157, allocations: 1.077 MB / 1.144 GB, free: 232 kB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001359/0.517, allocations: 0.9018 MB / 1.144 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001194/0.5172, allocations: 40 kB / 1.144 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002407/0.5196, allocations: 1.033 MB / 1.145 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002582/0.5199, allocations: 222.9 kB / 1.146 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0007421/0.5206, allocations: 0.6231 MB / 1.146 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.00261/0.5232, allocations: 1.88 MB / 1.148 GB, free: 11.51 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.5232, allocations: 3.938 kB / 1.148 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.114e-06/0.5233, allocations: 0 / 1.148 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.776e-05/0.5233, allocations: 0 / 1.148 GB, free: 11.5 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.002386/0.5257, allocations: 1.473 MB / 1.15 GB, free: 9.977 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.5257, allocations: 8.031 kB / 1.15 GB, free: 9.969 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005794/0.5263, allocations: 219.1 kB / 1.15 GB, free: 9.754 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001813/0.5281, allocations: 1.096 MB / 1.151 GB, free: 8.602 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003771/0.5285, allocations: 138.2 kB / 1.151 GB, free: 8.469 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001139/0.5286, allocations: 84 kB / 1.151 GB, free: 8.387 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001784/0.5304, allocations: 1.004 MB / 1.152 GB, free: 7.312 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.146e-05/0.5305, allocations: 0 / 1.152 GB, free: 7.312 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.148e-05/0.5306, allocations: 36 kB / 1.152 GB, free: 7.277 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.529e-05/0.5306, allocations: 28 kB / 1.152 GB, free: 7.25 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001678/0.5323, allocations: 0.6868 MB / 1.153 GB, free: 6.566 MB / 0.9044 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.005779/0.5381, allocations: 4.434 MB / 1.157 GB, free: 1.871 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001396/0.5395, allocations: 452.6 kB / 1.158 GB, free: 1.422 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005735/0.5401, allocations: 232.7 kB / 1.158 GB, free: 1.191 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001013/0.5411, allocations: 1.152 MB / 1.159 GB, free: 15.78 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.094e-05/0.5412, allocations: 34.56 kB / 1.159 GB, free: 15.74 MB / 0.92 GB Notification: Performance of pre-optimization done (n=29): time 2.685e-06/0.5412, allocations: 0 / 1.159 GB, free: 15.74 MB / 0.92 GB Notification: Performance of matching and sorting (n=29): time 0.003088/0.5443, allocations: 1.152 MB / 1.16 GB, free: 14.52 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.32e-05/0.5443, allocations: 59.34 kB / 1.16 GB, free: 14.45 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00117/0.5455, allocations: 0.9395 MB / 1.161 GB, free: 13.49 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 5.446e-05/0.5456, allocations: 29.7 kB / 1.161 GB, free: 13.46 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004333/0.546, allocations: 0.5813 MB / 1.162 GB, free: 12.87 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001112/0.5461, allocations: 106.5 kB / 1.162 GB, free: 12.77 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.603e-05/0.5462, allocations: 45.62 kB / 1.162 GB, free: 12.71 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001198/0.5463, allocations: 329.9 kB / 1.162 GB, free: 12.39 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005801/0.5469, allocations: 213 kB / 1.162 GB, free: 12.18 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007172/0.5476, allocations: 398.9 kB / 1.163 GB, free: 11.72 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001242/0.5489, allocations: 0.6026 MB / 1.163 GB, free: 11.04 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.574e-06/0.5489, allocations: 4 kB / 1.163 GB, free: 11.04 MB / 0.92 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001736/0.5506, allocations: 0.7677 MB / 1.164 GB, free: 10.25 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.517e-05/0.5507, allocations: 8 kB / 1.164 GB, free: 10.24 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/0.5507, allocations: 8.719 kB / 1.164 GB, free: 10.23 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007128/0.5514, allocations: 158.3 kB / 1.164 GB, free: 10.07 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000643/0.5521, allocations: 159.8 kB / 1.164 GB, free: 9.914 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001131/0.5532, allocations: 1.719 MB / 1.166 GB, free: 8.117 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008144/0.554, allocations: 119.5 kB / 1.166 GB, free: 8 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.998e-05/0.5541, allocations: 27.98 kB / 1.166 GB, free: 7.973 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0004862/0.5546, allocations: 266.2 kB / 1.166 GB, free: 7.703 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001499/0.5548, allocations: 114.5 kB / 1.167 GB, free: 7.59 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001932/0.5567, allocations: 0.7623 MB / 1.167 GB, free: 6.809 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.91e-05/0.5567, allocations: 7.938 kB / 1.167 GB, free: 6.801 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/0.5568, allocations: 3.938 kB / 1.167 GB, free: 6.797 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/0.5568, allocations: 7.984 kB / 1.167 GB, free: 6.789 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002986/0.5598, allocations: 1.672 MB / 1.169 GB, free: 5.039 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/0.5598, allocations: 0 / 1.169 GB, free: 5.039 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005207/0.5603, allocations: 112 kB / 1.169 GB, free: 4.93 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005599/0.5609, allocations: 154.6 kB / 1.169 GB, free: 4.77 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.823e-05/0.5609, allocations: 11.98 kB / 1.169 GB, free: 4.758 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001017/0.5619, allocations: 1.715 MB / 1.171 GB, free: 2.965 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.439e-06/0.562, allocations: 4.031 kB / 1.171 GB, free: 2.961 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001658/0.5636, allocations: 0.8114 MB / 1.172 GB, free: 2.105 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003754/0.564, allocations: 251.5 kB / 1.172 GB, free: 1.84 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000103/0.5641, allocations: 8 kB / 1.172 GB, free: 1.832 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006828/0.5648, allocations: 83.92 kB / 1.172 GB, free: 1.75 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.063e-05/0.5649, allocations: 35.83 kB / 1.172 GB, free: 1.715 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.841e-05/0.565, allocations: 23.98 kB / 1.172 GB, free: 1.691 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0007945/0.5658, allocations: 0.6303 MB / 1.173 GB, free: 1.055 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5658, allocations: 8 kB / 1.173 GB, free: 1.047 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001096/0.5669, allocations: 359.1 kB / 1.173 GB, free: 0.6953 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,2), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008209/0.5677, allocations: 391.3 kB / 1.173 GB, free: 320 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001653/0.5694, allocations: 0.5712 MB / 1.174 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 6.713e-06/0.5694, allocations: 4 kB / 1.174 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0008448/0.5702, allocations: 324 kB / 1.174 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002681/0.5729, allocations: 0.512 MB / 1.175 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003317/0.5763, allocations: 2.295 MB / 1.177 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006362/0.5769, allocations: 1.103 MB / 1.178 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0006753/0.5776, allocations: 180 kB / 1.178 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001434/0.5777, allocations: 63.42 kB / 1.178 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of SimCode: time 2.044e-06/0.5777, allocations: 0 / 1.178 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of Templates: time 0.03453/0.6123, allocations: 19.06 MB / 1.197 GB, free: 8.379 MB / 0.9512 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.sim & ./Buildings_3.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1)