Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction") translateModel(IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008285/0.0008287, allocations: 88.17 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009219/0.0009219, allocations: 175.2 kB / 16.58 MB, free: 6.852 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.361/1.361, allocations: 223.3 MB / 240.6 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7179/0.7179, allocations: 115.5 MB / 407.2 MB, free: 2.816 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000289/0.0002891, allocations: 8 kB / 495.2 MB, free: 6.723 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1275, allocations: 77.51 MB / 0.5593 GB, free: 9.418 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.4006/0.5282, allocations: 155.4 MB / 0.7111 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00587/0.5341, allocations: 4.041 MB / 0.715 GB, free: 7.855 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005335/0.5347, allocations: 15.94 kB / 0.715 GB, free: 7.84 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0007123/0.5354, allocations: 238.5 kB / 0.7153 GB, free: 7.605 MB / 0.5294 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.002187/0.5376, allocations: 0.9135 MB / 0.7162 GB, free: 6.688 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001562/0.5392, allocations: 0.5518 MB / 0.7167 GB, free: 6.141 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002222/0.5414, allocations: 1.991 MB / 0.7186 GB, free: 4.145 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006569/0.5421, allocations: 416.5 kB / 0.719 GB, free: 3.742 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001096/0.5432, allocations: 0.5835 MB / 0.7196 GB, free: 3.156 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008264/0.544, allocations: 0.5332 MB / 0.7201 GB, free: 2.621 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.301e-05/0.5441, allocations: 28 kB / 0.7202 GB, free: 2.594 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001137/0.5453, allocations: 399.1 kB / 0.7205 GB, free: 2.203 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0003082/0.5456, allocations: 235.3 kB / 0.7208 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002579/0.5459, allocations: 169.3 kB / 0.7209 GB, free: 1.801 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001315/0.5472, allocations: 0.8884 MB / 0.7218 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 8.255e-06/0.5472, allocations: 0 / 0.7218 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.164e-06/0.5472, allocations: 0 / 0.7218 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.062e-05/0.5472, allocations: 4 kB / 0.7218 GB, free: 0.9062 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.001799/0.549, allocations: 0.9047 MB / 0.7227 GB, free: 15.94 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.5491, allocations: 11.97 kB / 0.7227 GB, free: 15.93 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009898/0.5501, allocations: 163 kB / 0.7228 GB, free: 15.77 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007326/0.5508, allocations: 0.5135 MB / 0.7233 GB, free: 15.22 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.426e-05/0.5509, allocations: 41.3 kB / 0.7234 GB, free: 15.18 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.282e-05/0.551, allocations: 56.69 kB / 0.7234 GB, free: 15.13 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001098/0.5521, allocations: 0.644 MB / 0.7241 GB, free: 14.47 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.5521, allocations: 3.938 kB / 0.7241 GB, free: 14.46 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.58e-05/0.5522, allocations: 32 kB / 0.7241 GB, free: 14.43 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.866e-05/0.5522, allocations: 25.3 kB / 0.7241 GB, free: 14.41 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009445/0.5532, allocations: 0.5204 MB / 0.7246 GB, free: 13.88 MB / 0.545 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.003356/0.5565, allocations: 2.301 MB / 0.7269 GB, free: 11.41 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005146/0.5571, allocations: 262.7 kB / 0.7271 GB, free: 11.15 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002623/0.5573, allocations: 144 kB / 0.7273 GB, free: 11.01 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.642e-05/0.5574, allocations: 7.984 kB / 0.7273 GB, free: 11 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.763e-05/0.5574, allocations: 36.94 kB / 0.7273 GB, free: 10.96 MB / 0.545 GB Notification: Performance of pre-optimization done (n=20): time 2.184e-06/0.5574, allocations: 4 kB / 0.7273 GB, free: 10.96 MB / 0.545 GB Notification: Performance of matching and sorting (n=20): time 0.001649/0.5591, allocations: 0.6865 MB / 0.728 GB, free: 10.22 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.267e-05/0.5591, allocations: 81.11 kB / 0.7281 GB, free: 10.12 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006503/0.5598, allocations: 0.5535 MB / 0.7286 GB, free: 9.559 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.197e-05/0.5598, allocations: 29.7 kB / 0.7286 GB, free: 9.523 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002327/0.5601, allocations: 331.1 kB / 0.7289 GB, free: 9.191 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.526e-05/0.5602, allocations: 74.98 kB / 0.729 GB, free: 9.117 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.991e-05/0.5602, allocations: 8 kB / 0.729 GB, free: 9.109 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.5603, allocations: 358.8 kB / 0.7294 GB, free: 8.75 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000264/0.5606, allocations: 132.6 kB / 0.7295 GB, free: 8.621 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003045/0.5609, allocations: 223.2 kB / 0.7297 GB, free: 8.371 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003061/0.5612, allocations: 171.9 kB / 0.7299 GB, free: 8.203 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.5612, allocations: 0 / 0.7299 GB, free: 8.203 MB / 0.545 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009225/0.5622, allocations: 0.4986 MB / 0.7304 GB, free: 7.691 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.5622, allocations: 11.94 kB / 0.7304 GB, free: 7.68 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.5622, allocations: 0 / 0.7304 GB, free: 7.68 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003146/0.5625, allocations: 97.66 kB / 0.7305 GB, free: 7.578 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003412/0.5629, allocations: 75.89 kB / 0.7305 GB, free: 7.504 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002979/0.5659, allocations: 3.108 MB / 0.7336 GB, free: 4.137 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000507/0.5664, allocations: 59.53 kB / 0.7336 GB, free: 4.078 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.544e-05/0.5664, allocations: 16 kB / 0.7336 GB, free: 4.062 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 5,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002927/0.5667, allocations: 221.6 kB / 0.7339 GB, free: 3.836 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.77e-05/0.5669, allocations: 55.34 kB / 0.7339 GB, free: 3.781 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001003/0.567, allocations: 56.5 kB / 0.734 GB, free: 3.727 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.567, allocations: 4 kB / 0.734 GB, free: 3.723 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/0.567, allocations: 3.938 kB / 0.734 GB, free: 3.719 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000724/0.5677, allocations: 0.5423 MB / 0.7345 GB, free: 3.105 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001317/0.569, allocations: 0.9182 MB / 0.7354 GB, free: 2.121 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.569, allocations: 0 / 0.7354 GB, free: 2.121 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002216/0.5693, allocations: 47.97 kB / 0.7354 GB, free: 2.074 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000205/0.5695, allocations: 68.86 kB / 0.7355 GB, free: 2.004 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.954e-05/0.5695, allocations: 7.953 kB / 0.7355 GB, free: 1.996 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001581/0.5711, allocations: 1.684 MB / 0.7372 GB, free: 184 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.5711, allocations: 0 / 0.7372 GB, free: 184 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006518/0.5718, allocations: 455.1 kB / 0.7376 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002174/0.572, allocations: 164.4 kB / 0.7377 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.113e-05/0.5721, allocations: 4 kB / 0.7378 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004407/0.5725, allocations: 39.83 kB / 0.7378 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.296e-05/0.5726, allocations: 27.95 kB / 0.7378 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.337e-05/0.5727, allocations: 15.98 kB / 0.7378 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004528/0.5731, allocations: 390.8 kB / 0.7382 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.01e-07/0.5731, allocations: 0 / 0.7382 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006705/0.5738, allocations: 207.7 kB / 0.7384 GB, free: 14.86 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003438/0.5742, allocations: 159.6 kB / 0.7386 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008914/0.5751, allocations: 0.5406 MB / 0.7391 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.5751, allocations: 0 / 0.7391 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003729/0.5755, allocations: 262.5 kB / 0.7393 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001611/0.5771, allocations: 351.8 kB / 0.7397 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00157/0.5787, allocations: 1.193 MB / 0.7408 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004711/0.5792, allocations: 0.913 MB / 0.7417 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004572/0.5796, allocations: 120.8 kB / 0.7418 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.672e-05/0.5797, allocations: 35.44 kB / 0.7419 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of SimCode: time 2.4e-07/0.5797, allocations: 4 kB / 0.7419 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of Templates: time 0.02031/0.6, allocations: 11.95 MB / 0.7535 GB, free: 15.47 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.makefile (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & ./IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1)