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/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") translateModel(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7895/0.7895, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009828/0.0009825, allocations: 179.4 kB / 187.3 MB, free: 11.88 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.392/1.392, allocations: 221.3 MB / 441.4 MB, free: 4.668 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009688/0.000969, allocations: 94.98 kB / 0.5124 GB, free: 24.15 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001754/0.001754, allocations: 271.2 kB / 0.5939 GB, free: 7.973 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.247e-05/3.251e-05, allocations: 8 kB / 0.6834 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4525/0.4526, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.232/5.685, allocations: 1.942 GB / 2.706 GB, free: 104.5 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003469/5.685, allocations: 91.89 kB / 2.706 GB, free: 104.5 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.919/7.604, allocations: 400.5 MB / 3.097 GB, free: 189.1 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.084e-06/7.604, allocations: 0 / 3.097 GB, free: 189.1 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.408e-05/7.604, allocations: 13.94 kB / 3.097 GB, free: 189.1 MB / 0.698 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.001742/7.606, allocations: 0.877 MB / 3.098 GB, free: 188.7 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/7.606, allocations: 7.688 kB / 3.098 GB, free: 188.7 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001484/7.608, allocations: 264 kB / 3.098 GB, free: 188.6 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008639/7.609, allocations: 487 kB / 3.099 GB, free: 188.4 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003107/7.609, allocations: 101.1 kB / 3.099 GB, free: 188.4 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.42e-05/7.609, allocations: 38.56 kB / 3.099 GB, free: 188.4 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008622/7.61, allocations: 0.5409 MB / 3.099 GB, free: 188.3 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/7.61, allocations: 3.625 kB / 3.099 GB, free: 188.3 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.048e-05/7.61, allocations: 28.28 kB / 3.099 GB, free: 188.3 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.223e-05/7.61, allocations: 16.19 kB / 3.1 GB, free: 188.3 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000636/7.611, allocations: 411.2 kB / 3.1 GB, free: 188.3 MB / 0.698 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.0032/7.614, allocations: 2.158 MB / 3.102 GB, free: 187.3 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002668/7.614, allocations: 146 kB / 3.102 GB, free: 187.3 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001321/7.614, allocations: 85.44 kB / 3.102 GB, free: 187.3 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.054e-05/7.614, allocations: 3.594 kB / 3.102 GB, free: 187.3 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/7.614, allocations: 41.27 kB / 3.102 GB, free: 187.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=11): time 1.954e-06/7.614, allocations: 0 / 3.102 GB, free: 187.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.001632/7.616, allocations: 442.3 kB / 3.103 GB, free: 187.2 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.288e-05/7.616, allocations: 77.11 kB / 3.103 GB, free: 187.1 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005116/7.617, allocations: 490 kB / 3.103 GB, free: 187 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.245e-05/7.617, allocations: 29.61 kB / 3.103 GB, free: 187 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001925/7.617, allocations: 302.5 kB / 3.104 GB, free: 186.8 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.071e-05/7.617, allocations: 44.34 kB / 3.104 GB, free: 186.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.835e-05/7.617, allocations: 6.656 kB / 3.104 GB, free: 186.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001036/7.617, allocations: 359.4 kB / 3.104 GB, free: 186.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001618/7.617, allocations: 107.3 kB / 3.104 GB, free: 186.5 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002272/7.617, allocations: 192.5 kB / 3.104 GB, free: 186.4 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001976/7.618, allocations: 124.5 kB / 3.104 GB, free: 186.4 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/7.618, allocations: 3.938 kB / 3.104 GB, free: 186.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00156/7.619, allocations: 0.5522 MB / 3.105 GB, free: 186.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/7.619, allocations: 5.031 kB / 3.105 GB, free: 186.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.126e-06/7.619, allocations: 3.656 kB / 3.105 GB, free: 186.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000424/7.62, allocations: 132.7 kB / 3.105 GB, free: 186.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003493/7.62, allocations: 93.77 kB / 3.105 GB, free: 186.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002802/7.623, allocations: 1.92 MB / 3.107 GB, free: 185.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006592/7.623, allocations: 86.31 kB / 3.107 GB, free: 185 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.031e-05/7.623, allocations: 15.44 kB / 3.107 GB, free: 185 MB / 0.698 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 () * 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 (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 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001233/7.624, allocations: 127.4 kB / 3.107 GB, free: 184.9 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.209e-05/7.624, allocations: 48.28 kB / 3.107 GB, free: 184.9 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001193/7.624, allocations: 58.56 kB / 3.107 GB, free: 184.9 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/7.624, allocations: 3.953 kB / 3.107 GB, free: 184.9 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.863e-06/7.624, allocations: 0 / 3.107 GB, free: 184.9 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/7.624, allocations: 0 / 3.107 GB, free: 184.9 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002078/7.626, allocations: 0.9481 MB / 3.108 GB, free: 184.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/7.626, allocations: 0 / 3.108 GB, free: 184.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002204/7.626, allocations: 46.36 kB / 3.108 GB, free: 184.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000327/7.627, allocations: 128.5 kB / 3.108 GB, free: 184.6 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.134e-05/7.627, allocations: 2.125 kB / 3.108 GB, free: 184.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002375/7.629, allocations: 1.804 MB / 3.11 GB, free: 183.3 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/7.629, allocations: 7.078 kB / 3.11 GB, free: 183.3 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001788/7.631, allocations: 0.5555 MB / 3.111 GB, free: 183.1 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002511/7.631, allocations: 164 kB / 3.111 GB, free: 183 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.873e-05/7.631, allocations: 4.125 kB / 3.111 GB, free: 183 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005475/7.632, allocations: 67.17 kB / 3.111 GB, free: 183 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.418e-05/7.632, allocations: 8.594 kB / 3.111 GB, free: 183 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.894e-05/7.632, allocations: 18.62 kB / 3.111 GB, free: 183 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005421/7.632, allocations: 387 kB / 3.111 GB, free: 182.9 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/7.632, allocations: 0 / 3.111 GB, free: 182.9 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001479/7.634, allocations: 265.2 kB / 3.112 GB, free: 182.9 MB / 0.698 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 () * 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 (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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.002071/7.636, allocations: 1.012 MB / 3.113 GB, free: 182.6 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001281/7.637, allocations: 459 kB / 3.113 GB, free: 182.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.62e-06/7.637, allocations: 6.156 kB / 3.113 GB, free: 182.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002868/7.638, allocations: 220.1 kB / 3.113 GB, free: 182.4 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001429/7.639, allocations: 284.2 kB / 3.114 GB, free: 182.4 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002541/7.642, allocations: 0.7113 MB / 3.114 GB, free: 182.2 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004541/7.642, allocations: 0.8818 MB / 3.115 GB, free: 181.5 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005457/7.643, allocations: 99.69 kB / 3.115 GB, free: 181.5 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001345/7.643, allocations: 39.47 kB / 3.115 GB, free: 181.5 MB / 0.698 GB Notification: Performance of SimCode: time 6.81e-07/7.643, allocations: 3.469 kB / 3.115 GB, free: 181.5 MB / 0.698 GB Notification: Performance of Templates: time 0.04154/7.684, allocations: 25.9 MB / 3.14 GB, free: 180.5 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.makefile (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)