Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.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.BaseClasses.Validation.MixingVolumeHeatPortWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater") translateModel(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009782/0.0009782, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.005864/0.005864, allocations: 171.9 kB / 16.27 MB, free: 6.656 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.399/1.399, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.865/2.865, allocations: 473.4 MB / 0.7469 GB, free: 6.062 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003849/0.0003849, allocations: 10.8 kB / 0.9158 GB, free: 33.06 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3925/0.3929, allocations: 162.2 MB / 1.074 GB, free: 7.578 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater): time 0.02818/0.4211, allocations: 22.65 MB / 1.096 GB, free: 0.8359 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01145/0.4326, allocations: 6.793 MB / 1.103 GB, free: 10.03 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00127/0.4339, allocations: 27.81 kB / 1.103 GB, free: 10 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001006/0.4349, allocations: 266.5 kB / 1.103 GB, free: 9.742 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002819/0.4378, allocations: 0.8353 MB / 1.104 GB, free: 8.906 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002121/0.4399, allocations: 0.6909 MB / 1.105 GB, free: 8.223 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.005252/0.4452, allocations: 4.674 MB / 1.109 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001581/0.4468, allocations: 1.066 MB / 1.11 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001955/0.4487, allocations: 0.9372 MB / 1.111 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00137/0.4501, allocations: 0.8943 MB / 1.112 GB, free: 0.6055 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001054/0.4502, allocations: 39.94 kB / 1.112 GB, free: 0.5664 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001689/0.4519, allocations: 0.7056 MB / 1.113 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002657/0.4522, allocations: 223 kB / 1.113 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0007609/0.453, allocations: 0.5768 MB / 1.114 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.002284/0.4553, allocations: 1.815 MB / 1.115 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.4553, allocations: 0 / 1.115 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.575e-06/0.4553, allocations: 0 / 1.115 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.89e-05/0.4553, allocations: 4 kB / 1.115 GB, free: 13.23 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002082/0.4574, allocations: 1.301 MB / 1.117 GB, free: 11.88 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.069e-05/0.4575, allocations: 12.03 kB / 1.117 GB, free: 11.86 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004265/0.4579, allocations: 139.4 kB / 1.117 GB, free: 11.73 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00189/0.4598, allocations: 1.201 MB / 1.118 GB, free: 10.49 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.229e-05/0.4599, allocations: 61.98 kB / 1.118 GB, free: 10.43 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001275/0.46, allocations: 72 kB / 1.118 GB, free: 10.36 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001658/0.4617, allocations: 1.041 MB / 1.119 GB, free: 9.27 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.512e-05/0.4617, allocations: 0 / 1.119 GB, free: 9.27 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.16e-05/0.4618, allocations: 32 kB / 1.119 GB, free: 9.238 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.538e-05/0.4619, allocations: 23.94 kB / 1.119 GB, free: 9.215 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001193/0.4631, allocations: 0.7688 MB / 1.12 GB, free: 8.445 MB / 0.8731 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.005729/0.4688, allocations: 4.612 MB / 1.124 GB, free: 3.484 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005866/0.4694, allocations: 398.4 kB / 1.125 GB, free: 3.09 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003976/0.4698, allocations: 265.3 kB / 1.125 GB, free: 2.828 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004328/0.4702, allocations: 429.8 kB / 1.125 GB, free: 2.316 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.005e-05/0.4703, allocations: 42.89 kB / 1.125 GB, free: 2.266 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=40): time 2.996e-06/0.4703, allocations: 0 / 1.125 GB, free: 2.266 MB / 0.8731 GB Notification: Performance of matching and sorting (n=40): time 0.001941/0.4723, allocations: 0.874 MB / 1.126 GB, free: 1.363 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.022e-05/0.4723, allocations: 55.41 kB / 1.126 GB, free: 1.297 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001192/0.4735, allocations: 0.9193 MB / 1.127 GB, free: 376 kB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.533e-05/0.4736, allocations: 37.7 kB / 1.127 GB, free: 332 kB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004303/0.474, allocations: 0.495 MB / 1.128 GB, free: 15.82 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001577/0.4742, allocations: 145.9 kB / 1.128 GB, free: 15.68 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.621e-05/0.4743, allocations: 57.7 kB / 1.128 GB, free: 15.61 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001599/0.4744, allocations: 333.9 kB / 1.128 GB, free: 15.28 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003273/0.4748, allocations: 224.9 kB / 1.128 GB, free: 15.06 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005194/0.4753, allocations: 442.6 kB / 1.129 GB, free: 14.54 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000896/0.4762, allocations: 0.659 MB / 1.13 GB, free: 13.81 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.722e-06/0.4762, allocations: 11.94 kB / 1.13 GB, free: 13.8 MB / 0.8887 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001525/0.4777, allocations: 0.798 MB / 1.13 GB, free: 12.99 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002145/0.478, allocations: 263.4 kB / 1.131 GB, free: 12.65 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.478, allocations: 4 kB / 1.131 GB, free: 12.65 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004314/0.4784, allocations: 92.72 kB / 1.131 GB, free: 12.55 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003535/0.4788, allocations: 111.8 kB / 1.131 GB, free: 12.45 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006/0.4794, allocations: 0.6342 MB / 1.131 GB, free: 11.79 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007566/0.4802, allocations: 111.3 kB / 1.132 GB, free: 11.68 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.8e-05/0.4802, allocations: 24 kB / 1.132 GB, free: 11.65 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 8.366e-06/0.4802, allocations: 4 kB / 1.132 GB, free: 11.65 MB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001041/0.4813, allocations: 0.6836 MB / 1.132 GB, free: 10.96 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.4813, allocations: 8.156 kB / 1.132 GB, free: 10.95 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000174/0.4815, allocations: 64.75 kB / 1.132 GB, free: 10.89 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000325/0.4818, allocations: 111.8 kB / 1.132 GB, free: 10.78 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001815/0.4837, allocations: 1.72 MB / 1.134 GB, free: 8.914 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007719/0.4844, allocations: 95.52 kB / 1.134 GB, free: 8.82 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.713e-05/0.4845, allocations: 31.94 kB / 1.134 GB, free: 8.789 MB / 0.8887 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 (64): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0007659/0.4853, allocations: 488.7 kB / 1.135 GB, free: 8.301 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001551/0.4854, allocations: 90.88 kB / 1.135 GB, free: 8.211 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001111/0.4865, allocations: 0.6487 MB / 1.135 GB, free: 7.547 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.018e-05/0.4866, allocations: 4 kB / 1.135 GB, free: 7.543 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.4866, allocations: 0 / 1.135 GB, free: 7.543 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009057/0.4875, allocations: 0.8242 MB / 1.136 GB, free: 6.629 MB / 0.8887 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 postOpt removeSimpleEquations (simulation): time 0.002489/0.49, allocations: 1.691 MB / 1.138 GB, free: 4.855 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.602e-06/0.49, allocations: 4 kB / 1.138 GB, free: 4.852 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003236/0.4903, allocations: 83.88 kB / 1.138 GB, free: 4.77 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001284/0.4905, allocations: 40.83 kB / 1.138 GB, free: 4.727 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.864e-05/0.4905, allocations: 15.92 kB / 1.138 GB, free: 4.711 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004155/0.4909, allocations: 0.5719 MB / 1.139 GB, free: 4.113 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.105e-06/0.491, allocations: 3.984 kB / 1.139 GB, free: 4.109 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001364/0.4923, allocations: 0.9527 MB / 1.139 GB, free: 3.125 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003869/0.4927, allocations: 259.9 kB / 1.14 GB, free: 2.852 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.051e-05/0.4928, allocations: 8 kB / 1.14 GB, free: 2.844 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005944/0.4934, allocations: 79.39 kB / 1.14 GB, free: 2.77 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.035e-05/0.4935, allocations: 31.83 kB / 1.14 GB, free: 2.738 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.582e-05/0.4936, allocations: 23.98 kB / 1.14 GB, free: 2.715 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0008273/0.4944, allocations: 0.6512 MB / 1.14 GB, free: 2.066 MB / 0.8887 GB Notification: Performance of sort global known variables: time 6.41e-07/0.4944, allocations: 4 kB / 1.141 GB, free: 2.062 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001733/0.4961, allocations: 0.5535 MB / 1.141 GB, free: 1.508 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (vol[1].dynBal.U,vol[2].dynBal.U,vol[3].dynBal.U) * 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 (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000844/0.497, allocations: 287.5 kB / 1.141 GB, free: 1.223 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002199/0.4992, allocations: 1.001 MB / 1.142 GB, free: 216 kB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/0.4992, allocations: 0 / 1.142 GB, free: 216 kB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0004228/0.4996, allocations: 243.6 kB / 1.143 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003033/0.5027, allocations: 0.5607 MB / 1.143 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003994/0.5067, allocations: 2.487 MB / 1.146 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000883/0.5076, allocations: 1.228 MB / 1.147 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.001366/0.509, allocations: 456.9 kB / 1.147 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001723/0.5092, allocations: 75.41 kB / 1.147 GB, free: 11.12 MB / 0.9044 GB Notification: Performance of SimCode: time 1.413e-06/0.5092, allocations: 0 / 1.147 GB, free: 11.12 MB / 0.9044 GB Notification: Performance of Templates: time 0.03723/0.5464, allocations: 19.46 MB / 1.166 GB, free: 7.898 MB / 0.92 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.sim & ./Buildings_3.0.0_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe 2>&1)