Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource") translateModel(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.121/2.121, allocations: 251.1 MB / 266.7 MB, free: 11.64 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001351/0.001351, allocations: 180.4 kB / 326.2 MB, free: 2.863 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.354/2.354, allocations: 205.4 MB / 0.5772 GB, free: 20.75 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009522/0.0009519, allocations: 106.5 kB / 0.6817 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000479/0.0004791, allocations: 11.75 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2102/0.2107, allocations: 106.3 MB / 0.8995 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.322/7.533, allocations: 2.253 GB / 3.153 GB, free: 237.8 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003126/7.533, allocations: 94.8 kB / 3.153 GB, free: 237.8 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 10.16/17.7, allocations: 1.978 GB / 5.131 GB, free: 11.48 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.685e-06/17.7, allocations: 4 kB / 5.131 GB, free: 11.48 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0005327/17.7, allocations: 91.98 kB / 5.131 GB, free: 11.39 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 703 * Number of variables: 703 Notification: Performance of Generate backend data structure: time 0.01705/17.71, allocations: 3.972 MB / 5.135 GB, free: 7.348 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/17.71, allocations: 12.03 kB / 5.135 GB, free: 7.336 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009274/17.72, allocations: 0.9243 MB / 5.136 GB, free: 6.406 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01005/17.73, allocations: 2.645 MB / 5.139 GB, free: 3.688 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003625/17.73, allocations: 281.4 kB / 5.139 GB, free: 3.398 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001184/17.73, allocations: 296 kB / 5.139 GB, free: 3.109 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009984/17.74, allocations: 3.255 MB / 5.142 GB, free: 15.77 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001045/17.74, allocations: 7.906 kB / 5.142 GB, free: 15.76 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005146/17.74, allocations: 120 kB / 5.142 GB, free: 15.64 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001537/17.75, allocations: 101.4 kB / 5.143 GB, free: 15.54 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00931/17.75, allocations: 2.656 MB / 5.145 GB, free: 12.88 MB / 0.948 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.8146/18.57, allocations: 13.24 MB / 5.158 GB, free: 90.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004414/18.57, allocations: 1.757 MB / 5.16 GB, free: 90.25 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00277/18.58, allocations: 1.066 MB / 5.161 GB, free: 90.24 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007274/18.58, allocations: 334.1 kB / 5.161 GB, free: 89.96 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.74e-05/18.58, allocations: 61.48 kB / 5.161 GB, free: 89.91 MB / 0.948 GB Notification: Performance of pre-optimization done (n=182): time 5.44e-06/18.58, allocations: 3.281 kB / 5.161 GB, free: 89.91 MB / 0.948 GB Notification: Performance of matching and sorting (n=182): time 0.00948/18.59, allocations: 2.651 MB / 5.164 GB, free: 89.83 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.188e-05/18.59, allocations: 70.5 kB / 5.164 GB, free: 89.77 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005584/18.59, allocations: 1.975 MB / 5.166 GB, free: 89.55 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006867/18.59, allocations: 67.83 kB / 5.166 GB, free: 89.52 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001861/18.6, allocations: 1.408 MB / 5.167 GB, free: 89.19 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001324/18.6, allocations: 0.6406 MB / 5.168 GB, free: 88.86 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002111/18.6, allocations: 39.94 kB / 5.168 GB, free: 88.86 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.000254/18.6, allocations: 389.7 kB / 5.168 GB, free: 88.56 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00266/18.6, allocations: 0.7703 MB / 5.169 GB, free: 88.55 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003402/18.6, allocations: 1.431 MB / 5.17 GB, free: 87.81 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003194/18.61, allocations: 1.033 MB / 5.171 GB, free: 87.79 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.987e-05/18.61, allocations: 7.375 kB / 5.171 GB, free: 87.79 MB / 0.948 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.007463/18.61, allocations: 2.427 MB / 5.174 GB, free: 87.59 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003069/18.61, allocations: 489.3 kB / 5.174 GB, free: 87.03 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.525e-05/18.61, allocations: 14.81 kB / 5.174 GB, free: 87.03 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.073e-05/18.61, allocations: 21.81 kB / 5.174 GB, free: 87.03 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005116/18.62, allocations: 0.5581 MB / 5.175 GB, free: 87.03 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002004/18.62, allocations: 4.159 MB / 5.179 GB, free: 82.93 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005831/18.63, allocations: 377.1 kB / 5.179 GB, free: 82.88 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003743/18.63, allocations: 93.27 kB / 5.179 GB, free: 82.88 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/18.63, allocations: 3.969 kB / 5.179 GB, free: 82.88 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005244/18.63, allocations: 2.167 MB / 5.181 GB, free: 82.83 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.304e-05/18.63, allocations: 11.91 kB / 5.181 GB, free: 82.83 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.9e-05/18.63, allocations: 23.03 kB / 5.181 GB, free: 82.83 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003482/18.64, allocations: 476.2 kB / 5.182 GB, free: 82.83 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-05/18.64, allocations: 30.83 kB / 5.182 GB, free: 82.83 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005485/18.64, allocations: 361.2 kB / 5.182 GB, free: 82.79 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003611/18.64, allocations: 88.05 kB / 5.182 GB, free: 82.79 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * 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 (257): * Single equations (assignments): 250 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 7 {1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002749/18.65, allocations: 0.8855 MB / 5.183 GB, free: 82.59 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009621/18.65, allocations: 266.7 kB / 5.184 GB, free: 82.46 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005473/18.65, allocations: 2.052 MB / 5.186 GB, free: 82.33 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.687e-05/18.65, allocations: 17.81 kB / 5.186 GB, free: 82.33 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.969e-06/18.65, allocations: 0 / 5.186 GB, free: 82.33 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004114/18.66, allocations: 1.838 MB / 5.187 GB, free: 82.04 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01404/18.67, allocations: 5.126 MB / 5.192 GB, free: 81.51 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-05/18.67, allocations: 3 kB / 5.192 GB, free: 81.51 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004818/18.67, allocations: 0.5104 MB / 5.193 GB, free: 81.51 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.598e-05/18.68, allocations: 10.5 kB / 5.193 GB, free: 81.51 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004541/18.68, allocations: 49.92 kB / 5.193 GB, free: 81.51 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001688/18.68, allocations: 4.128 MB / 5.197 GB, free: 77.41 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.251e-06/18.68, allocations: 5.281 kB / 5.197 GB, free: 77.41 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007775/18.69, allocations: 3.288 MB / 5.2 GB, free: 76.96 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002474/18.69, allocations: 0.5907 MB / 5.201 GB, free: 76.73 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008502/18.69, allocations: 39.34 kB / 5.201 GB, free: 76.73 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005053/18.69, allocations: 265.1 kB / 5.201 GB, free: 76.71 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005087/18.69, allocations: 111.8 kB / 5.201 GB, free: 76.71 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002868/18.69, allocations: 80.02 kB / 5.201 GB, free: 76.71 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.00306/18.7, allocations: 1.31 MB / 5.202 GB, free: 76.57 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.11e-07/18.7, allocations: 0 / 5.202 GB, free: 76.57 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.008899/18.71, allocations: 2.157 MB / 5.205 GB, free: 76.44 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 20 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],vol.dynBal.mC[1],vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1],vol1.dynBal.mC[1],vol2.dynBal.U,vol2.dynBal.m,vol2.dynBal.mXi[1],vol2.dynBal.mC[1],vol3.dynBal.U,vol3.dynBal.m,vol3.dynBal.mXi[1],vol3.dynBal.mC[1],vol4.dynBal.U,vol4.dynBal.m,vol4.dynBal.mXi[1],vol4.dynBal.mC[1]) * 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 (182): * Single equations (assignments): 175 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 7 {1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008882/18.72, allocations: 4.762 MB / 5.209 GB, free: 74.17 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.009907/18.73, allocations: 3.233 MB / 5.212 GB, free: 74.12 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.416e-05/18.73, allocations: 2.688 kB / 5.212 GB, free: 74.12 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.003101/18.73, allocations: 1.009 MB / 5.213 GB, free: 74.11 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01505/18.74, allocations: 1.601 MB / 5.215 GB, free: 74.07 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01739/18.76, allocations: 7.864 MB / 5.223 GB, free: 70.99 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003022/18.76, allocations: 2.192 MB / 5.225 GB, free: 70.24 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.00671/18.77, allocations: 1.088 MB / 5.226 GB, free: 70.21 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001349/18.77, allocations: 217 kB / 5.226 GB, free: 70.2 MB / 0.948 GB Notification: Performance of SimCode: time 1.433e-06/18.77, allocations: 0 / 5.226 GB, free: 70.2 MB / 0.948 GB Notification: Performance of Templates: time 0.2246/19, allocations: 98.25 MB / 5.322 GB, free: 65.72 MB / 0.948 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.sim & ./Buildings_7.0.0_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe 2>&1)