Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00081/0.00081, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007975/0.0007975, allocations: 177.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.898/0.898, allocations: 177.1 MB / 203.5 MB, free: 5.398 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001662/0.001662, allocations: 234 kB / 260.2 MB, free: 12.88 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6722/0.6722, allocations: 138.4 MB / 455.1 MB, free: 29.86 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") translateModel(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 3.938 kB / 0.6475 GB, free: 1.379 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.774e-05/1.982e-05, allocations: 6.281 kB / 0.6475 GB, free: 1.371 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.3507/0.3507, allocations: 150.8 MB / 0.7947 GB, free: 3.938 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004123/0.3548, allocations: 4.014 MB / 0.7987 GB, free: 15.91 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003442/0.3552, allocations: 27.75 kB / 0.7987 GB, free: 15.88 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0007227/0.3559, allocations: 337.9 kB / 0.799 GB, free: 15.55 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001764/0.3577, allocations: 1.073 MB / 0.8001 GB, free: 14.47 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001289/0.359, allocations: 0.8456 MB / 0.8009 GB, free: 13.63 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0009728/0.3599, allocations: 1.343 MB / 0.8022 GB, free: 12.29 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003657/0.3603, allocations: 364 kB / 0.8025 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000847/0.3611, allocations: 0.8684 MB / 0.8034 GB, free: 11.06 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006951/0.3618, allocations: 429 kB / 0.8038 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 5.809e-05/0.3619, allocations: 52 kB / 0.8039 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008098/0.3627, allocations: 0.7713 MB / 0.8046 GB, free: 9.82 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001495/0.3629, allocations: 223.3 kB / 0.8048 GB, free: 9.602 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.000184/0.363, allocations: 235.5 kB / 0.805 GB, free: 9.371 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.00103/0.3641, allocations: 1.18 MB / 0.8062 GB, free: 8.188 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.3641, allocations: 4.594 kB / 0.8062 GB, free: 8.184 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.342e-06/0.3641, allocations: 0 / 0.8062 GB, free: 8.184 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.634e-06/0.3641, allocations: 0 / 0.8062 GB, free: 8.184 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001115/0.3652, allocations: 0.8838 MB / 0.8071 GB, free: 7.27 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.3652, allocations: 8.75 kB / 0.8071 GB, free: 7.262 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008071/0.366, allocations: 263.4 kB / 0.8073 GB, free: 7.004 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005385/0.3666, allocations: 447.1 kB / 0.8078 GB, free: 6.539 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.401e-05/0.3666, allocations: 33 kB / 0.8078 GB, free: 6.508 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001045/0.3667, allocations: 43.88 kB / 0.8078 GB, free: 6.465 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008129/0.3675, allocations: 0.8907 MB / 0.8087 GB, free: 5.48 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.3675, allocations: 0 / 0.8087 GB, free: 5.48 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.683e-05/0.3676, allocations: 16 kB / 0.8087 GB, free: 5.465 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.484e-05/0.3676, allocations: 28.77 kB / 0.8087 GB, free: 5.441 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000746/0.3683, allocations: 0.5464 MB / 0.8093 GB, free: 4.895 MB / 0.6355 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.002137/0.3705, allocations: 1.78 MB / 0.811 GB, free: 3.066 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004814/0.371, allocations: 270.4 kB / 0.8113 GB, free: 2.793 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002639/0.3712, allocations: 172.9 kB / 0.8114 GB, free: 2.621 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.941e-05/0.3712, allocations: 7.984 kB / 0.8114 GB, free: 2.613 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.937e-05/0.3713, allocations: 34.56 kB / 0.8115 GB, free: 2.57 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=11): time 1.282e-06/0.3713, allocations: 0 / 0.8115 GB, free: 2.57 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.00237/0.3736, allocations: 1.007 MB / 0.8125 GB, free: 1.555 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.913e-05/0.3737, allocations: 81.11 kB / 0.8125 GB, free: 1.457 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002979/0.374, allocations: 425.7 kB / 0.8129 GB, free: 1.031 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.608e-05/0.374, allocations: 33.7 kB / 0.813 GB, free: 0.9922 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003735/0.3744, allocations: 311.7 kB / 0.8133 GB, free: 0.6797 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.967e-05/0.3744, allocations: 39.69 kB / 0.8133 GB, free: 0.6406 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.431e-05/0.3745, allocations: 61.64 kB / 0.8134 GB, free: 0.5742 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.392e-05/0.3746, allocations: 354.7 kB / 0.8137 GB, free: 224 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002989/0.3749, allocations: 183.8 kB / 0.8139 GB, free: 40 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003413/0.3752, allocations: 308.2 kB / 0.8142 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005577/0.3758, allocations: 407.2 kB / 0.8146 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.3758, allocations: 1.812 kB / 0.8146 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001243/0.377, allocations: 0.7085 MB / 0.8153 GB, free: 14.56 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.377, allocations: 8.625 kB / 0.8153 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.377, allocations: 0 / 0.8153 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003596/0.3774, allocations: 188.8 kB / 0.8154 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001707/0.3776, allocations: 67.88 kB / 0.8155 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002072/0.3796, allocations: 2.091 MB / 0.8176 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002416/0.3799, allocations: 55.8 kB / 0.8176 GB, free: 12.06 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.76e-05/0.3799, allocations: 12 kB / 0.8176 GB, free: 12.05 MB / 0.6511 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 (26): * Single equations (assignments): 25 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.000156/0.38, allocations: 198.3 kB / 0.8178 GB, free: 11.85 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.223e-05/0.3801, allocations: 47.77 kB / 0.8179 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.949e-05/0.3801, allocations: 35.28 kB / 0.8179 GB, free: 11.76 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.3801, allocations: 0 / 0.8179 GB, free: 11.76 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.3801, allocations: 0 / 0.8179 GB, free: 11.76 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.3802, allocations: 4 kB / 0.8179 GB, free: 11.76 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001446/0.3816, allocations: 0.9961 MB / 0.8189 GB, free: 10.72 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.3816, allocations: 1.375 kB / 0.8189 GB, free: 10.72 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001043/0.3817, allocations: 47.95 kB / 0.8189 GB, free: 10.67 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002762/0.382, allocations: 176.7 kB / 0.8191 GB, free: 10.5 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.416e-05/0.382, allocations: 11.92 kB / 0.8191 GB, free: 10.48 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002034/0.384, allocations: 2.037 MB / 0.8211 GB, free: 8.352 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.384, allocations: 0 / 0.8211 GB, free: 8.352 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001149/0.3852, allocations: 0.6887 MB / 0.8217 GB, free: 7.637 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001125/0.3853, allocations: 75.7 kB / 0.8218 GB, free: 7.562 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.96e-05/0.3853, allocations: 8 kB / 0.8218 GB, free: 7.555 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00024/0.3856, allocations: 49.58 kB / 0.8219 GB, free: 7.508 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.003e-05/0.3856, allocations: 11.98 kB / 0.8219 GB, free: 7.496 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.886e-05/0.3856, allocations: 11.98 kB / 0.8219 GB, free: 7.484 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001921/0.3858, allocations: 287.1 kB / 0.8222 GB, free: 7.207 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5e-08/0.3858, allocations: 0 / 0.8222 GB, free: 7.207 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000406/0.3862, allocations: 199.6 kB / 0.8224 GB, free: 7.012 MB / 0.6511 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 (7): * Single equations (assignments): 6 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000232/0.3865, allocations: 177.2 kB / 0.8225 GB, free: 6.832 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0008276/0.3873, allocations: 0.5152 MB / 0.823 GB, free: 6.305 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3873, allocations: 384 / 0.823 GB, free: 6.305 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003446/0.3876, allocations: 302.5 kB / 0.8233 GB, free: 5.996 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005633/0.3882, allocations: 194 kB / 0.8235 GB, free: 5.832 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001566/0.3898, allocations: 1.06 MB / 0.8245 GB, free: 4.727 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001587/0.3899, allocations: 263.9 kB / 0.8248 GB, free: 4.441 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.712e-05/0.39, allocations: 36.48 kB / 0.8248 GB, free: 4.406 MB / 0.6511 GB Notification: Performance of SimCode: time 5.11e-07/0.39, allocations: 0 / 0.8248 GB, free: 4.406 MB / 0.6511 GB Notification: Performance of Templates: time 0.008175/0.3982, allocations: 9.976 MB / 0.8346 GB, free: 10.54 MB / 0.6667 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.4020073395222425] Failed to read output from testmodel.py, exit status != 0: 0.4034660402685404 0.41186264 0.045841932 Calling exit ...