Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.241/2.241, allocations: 251.3 MB / 266.2 MB, free: 11.53 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001336/0.001336, allocations: 178.8 kB / 325.8 MB, free: 2.789 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.441/2.441, allocations: 205.4 MB / 0.5767 GB, free: 20.73 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001247/0.001247, allocations: 92.78 kB / 0.6812 GB, free: 13.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006519/0.0006521, allocations: 12.66 kB / 0.7953 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2433/0.2439, allocations: 106.3 MB / 0.899 GB, free: 65.4 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource): time 1.121/1.365, allocations: 279.4 MB / 1.172 GB, free: 14.49 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.05118/1.416, allocations: 24.21 MB / 1.196 GB, free: 15.56 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005238/1.421, allocations: 97.97 kB / 1.196 GB, free: 15.56 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.006233/1.427, allocations: 1.204 MB / 1.197 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.01906/1.447, allocations: 4.393 MB / 1.201 GB, free: 11.46 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.009883/1.456, allocations: 2.014 MB / 1.203 GB, free: 10.05 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.01915/1.476, allocations: 10.74 MB / 1.214 GB, free: 2.242 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00728/1.483, allocations: 2.691 MB / 1.216 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01142/1.494, allocations: 3.28 MB / 1.219 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007848/1.502, allocations: 2.857 MB / 1.222 GB, free: 9.344 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.001323/1.504, allocations: 156 kB / 1.222 GB, free: 9.191 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01113/1.515, allocations: 2.412 MB / 1.225 GB, free: 6.773 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.003452/1.518, allocations: 1.453 MB / 1.226 GB, free: 5.316 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.00258/1.521, allocations: 0.7693 MB / 1.227 GB, free: 4.539 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.01131/1.532, allocations: 4.825 MB / 1.232 GB, free: 15.7 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/1.532, allocations: 0 / 1.232 GB, free: 15.7 MB / 0.7605 GB Notification: Performance of FrontEnd: time 5.149e-06/1.532, allocations: 3.984 kB / 1.232 GB, free: 15.7 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0002045/1.533, allocations: 0 / 1.232 GB, free: 15.7 MB / 0.7605 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.01089/1.544, allocations: 3.494 MB / 1.235 GB, free: 12.14 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/1.544, allocations: 8.031 kB / 1.235 GB, free: 12.13 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008654/1.552, allocations: 0.9399 MB / 1.236 GB, free: 11.18 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008811/1.561, allocations: 2.359 MB / 1.238 GB, free: 8.75 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004511/1.562, allocations: 289.5 kB / 1.238 GB, free: 8.453 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001049/1.563, allocations: 299.9 kB / 1.239 GB, free: 8.16 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01103/1.574, allocations: 3.391 MB / 1.242 GB, free: 4.684 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001075/1.574, allocations: 7.938 kB / 1.242 GB, free: 4.676 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005427/1.574, allocations: 116 kB / 1.242 GB, free: 4.562 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001997/1.575, allocations: 113.4 kB / 1.242 GB, free: 4.449 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009532/1.584, allocations: 2.804 MB / 1.245 GB, free: 1.633 MB / 0.7605 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.02793/1.612, allocations: 13.31 MB / 1.258 GB, free: 3.133 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005094/1.617, allocations: 1.833 MB / 1.26 GB, free: 1.297 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003166/1.621, allocations: 1.106 MB / 1.261 GB, free: 196 kB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008554/1.621, allocations: 329.2 kB / 1.261 GB, free: 15.81 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.382e-05/1.622, allocations: 64.5 kB / 1.261 GB, free: 15.74 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=186): time 5.32e-06/1.622, allocations: 0 / 1.261 GB, free: 15.74 MB / 0.7917 GB Notification: Performance of matching and sorting (n=186): time 0.009667/1.631, allocations: 2.746 MB / 1.264 GB, free: 12.99 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.97e-05/1.631, allocations: 73.41 kB / 1.264 GB, free: 12.91 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004659/1.636, allocations: 1.965 MB / 1.266 GB, free: 10.92 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.000565/1.637, allocations: 73.7 kB / 1.266 GB, free: 10.84 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.00191/1.639, allocations: 1.398 MB / 1.267 GB, free: 9.43 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.001347/1.64, allocations: 0.6584 MB / 1.268 GB, free: 8.762 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001999/1.64, allocations: 40 kB / 1.268 GB, free: 8.723 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0002934/1.641, allocations: 390 kB / 1.268 GB, free: 8.336 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002611/1.643, allocations: 0.7887 MB / 1.269 GB, free: 7.543 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00345/1.647, allocations: 1.432 MB / 1.271 GB, free: 5.844 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003409/1.65, allocations: 1.048 MB / 1.272 GB, free: 4.797 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-05/1.65, allocations: 4 kB / 1.272 GB, free: 4.793 MB / 0.7917 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.007836/1.658, allocations: 2.463 MB / 1.274 GB, free: 2.32 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004829/1.659, allocations: 478.5 kB / 1.274 GB, free: 1.676 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.938e-05/1.659, allocations: 12 kB / 1.274 GB, free: 1.664 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.017e-05/1.659, allocations: 28 kB / 1.275 GB, free: 1.637 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005748/1.664, allocations: 0.5539 MB / 1.275 GB, free: 1.082 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004021/1.669, allocations: 4.165 MB / 1.279 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007421/1.676, allocations: 386.9 kB / 1.279 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005622/1.677, allocations: 87.98 kB / 1.28 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/1.677, allocations: 7.938 kB / 1.28 GB, free: 12.28 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009216/1.686, allocations: 2.206 MB / 1.282 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.155e-05/1.686, allocations: 12 kB / 1.282 GB, free: 10.06 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.038e-05/1.686, allocations: 24.81 kB / 1.282 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004963/1.691, allocations: 483.3 kB / 1.282 GB, free: 9.566 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.648e-05/1.691, allocations: 31.86 kB / 1.282 GB, free: 9.535 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007372/1.699, allocations: 362.9 kB / 1.283 GB, free: 9.184 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004053/1.699, allocations: 87.98 kB / 1.283 GB, free: 9.098 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * 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 (261): * Single equations (assignments): 254 * 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.003174/1.702, allocations: 0.8754 MB / 1.284 GB, free: 8.211 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001171/1.703, allocations: 264.8 kB / 1.284 GB, free: 7.949 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007896/1.711, allocations: 2.13 MB / 1.286 GB, free: 5.805 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.875e-05/1.711, allocations: 19.98 kB / 1.286 GB, free: 5.785 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.324e-05/1.711, allocations: 0 / 1.286 GB, free: 5.785 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006696/1.718, allocations: 1.89 MB / 1.288 GB, free: 3.844 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01975/1.738, allocations: 5.216 MB / 1.293 GB, free: 14.53 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.027e-05/1.738, allocations: 4 kB / 1.293 GB, free: 14.52 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006662/1.745, allocations: 0.5114 MB / 1.293 GB, free: 14.01 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.69e-05/1.745, allocations: 8 kB / 1.293 GB, free: 14 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004458/1.745, allocations: 55.92 kB / 1.293 GB, free: 13.95 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003156/1.748, allocations: 4.126 MB / 1.297 GB, free: 9.66 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.982e-06/1.748, allocations: 0 / 1.297 GB, free: 9.66 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009095/1.758, allocations: 3.392 MB / 1.301 GB, free: 6.219 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002497/1.76, allocations: 0.5911 MB / 1.301 GB, free: 5.605 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007383/1.761, allocations: 47.92 kB / 1.301 GB, free: 5.559 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004727/1.766, allocations: 268.1 kB / 1.302 GB, free: 5.297 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003995/1.766, allocations: 117.8 kB / 1.302 GB, free: 5.18 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002519/1.766, allocations: 79.95 kB / 1.302 GB, free: 5.102 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.003485/1.77, allocations: 1.31 MB / 1.303 GB, free: 3.781 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.202e-06/1.77, allocations: 0 / 1.303 GB, free: 3.781 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.007721/1.778, allocations: 1.749 MB / 1.305 GB, free: 2.027 MB / 0.823 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 (186): * Single equations (assignments): 179 * 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.001409/1.779, allocations: 377.2 kB / 1.305 GB, free: 1.66 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.01091/1.79, allocations: 3.31 MB / 1.308 GB, free: 14.36 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.588e-05/1.79, allocations: 4 kB / 1.308 GB, free: 14.35 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.00342/1.793, allocations: 1.043 MB / 1.309 GB, free: 13.32 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01487/1.808, allocations: 1.606 MB / 1.311 GB, free: 11.72 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0185/1.827, allocations: 7.922 MB / 1.319 GB, free: 3.734 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003571/1.831, allocations: 2.193 MB / 1.321 GB, free: 1.508 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.006741/1.837, allocations: 1.115 MB / 1.322 GB, free: 396 kB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001385/1.839, allocations: 223.4 kB / 1.322 GB, free: 176 kB / 0.8386 GB Notification: Performance of SimCode: time 1.192e-06/1.839, allocations: 0 / 1.322 GB, free: 176 kB / 0.8386 GB Notification: Performance of Templates: time 0.174/2.013, allocations: 52.56 MB / 1.373 GB, free: 12.08 MB / 0.9011 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)