Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances") translateModel(Buildings.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.468/1.468, allocations: 252 MB / 268 MB, free: 10.84 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.0009693/0.0009694, allocations: 190.8 kB / 327.6 MB, free: 2.078 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.736/1.736, allocations: 205.4 MB / 0.5786 GB, free: 20.11 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.0007814/0.0007815, allocations: 91.48 kB / 0.6832 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003492/0.0003492, allocations: 11.22 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2328/0.2331, allocations: 106.3 MB / 0.9014 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.7911/1.024, allocations: 190.5 MB / 1.087 GB, free: 1.602 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.03059/1.055, allocations: 14.28 MB / 1.101 GB, free: 1.32 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002673/1.058, allocations: 27.03 kB / 1.101 GB, free: 1.32 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002584/1.06, allocations: 424.7 kB / 1.102 GB, free: 1.312 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.009579/1.07, allocations: 1.777 MB / 1.104 GB, free: 1.219 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.004669/1.075, allocations: 0.7903 MB / 1.104 GB, free: 1.188 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.007645/1.082, allocations: 3.671 MB / 1.108 GB, free: 1.184 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002572/1.085, allocations: 0.9102 MB / 1.109 GB, free: 1.027 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007544/1.093, allocations: 1.354 MB / 1.11 GB, free: 1 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004229/1.097, allocations: 0.9311 MB / 1.111 GB, free: 1 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.000574/1.097, allocations: 45.94 kB / 1.111 GB, free: 1 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004991/1.102, allocations: 1.248 MB / 1.112 GB, free: 0.9844 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001196/1.104, allocations: 446.8 kB / 1.113 GB, free: 0.9766 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.002105/1.106, allocations: 0.5884 MB / 1.113 GB, free: 0.9453 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.003258/1.109, allocations: 1.428 MB / 1.115 GB, free: 0.8359 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/1.109, allocations: 0 / 1.115 GB, free: 0.8359 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.106e-06/1.109, allocations: 0 / 1.115 GB, free: 0.8359 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.617e-05/1.109, allocations: 0 / 1.115 GB, free: 0.8359 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: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.004006/1.113, allocations: 1.228 MB / 1.116 GB, free: 16.09 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.336e-05/1.113, allocations: 8.281 kB / 1.116 GB, free: 16.09 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002466/1.116, allocations: 262.4 kB / 1.116 GB, free: 16.02 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003312/1.119, allocations: 0.8271 MB / 1.117 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001435/1.119, allocations: 72.34 kB / 1.117 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003962/1.12, allocations: 96.78 kB / 1.117 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003181/1.123, allocations: 1.187 MB / 1.118 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.149e-05/1.123, allocations: 5.906 kB / 1.118 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001566/1.123, allocations: 38.06 kB / 1.118 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.282e-05/1.123, allocations: 39.31 kB / 1.118 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002252/1.126, allocations: 0.9168 MB / 1.119 GB, free: 15.45 MB / 0.7136 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.009221/1.135, allocations: 5.726 MB / 1.125 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001333/1.136, allocations: 0.5382 MB / 1.125 GB, free: 11.6 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007154/1.137, allocations: 330.3 kB / 1.126 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008841/1.138, allocations: 319.5 kB / 1.126 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.078e-05/1.138, allocations: 39.78 kB / 1.126 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=51): time 4.568e-06/1.138, allocations: 0 / 1.126 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of matching and sorting (n=51): time 0.002503/1.14, allocations: 0.8153 MB / 1.127 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.353e-05/1.141, allocations: 90.42 kB / 1.127 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001656/1.142, allocations: 0.7432 MB / 1.128 GB, free: 10.94 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001215/1.142, allocations: 38.08 kB / 1.128 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005737/1.143, allocations: 0.5005 MB / 1.128 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.000307/1.143, allocations: 188.7 kB / 1.128 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.352e-05/1.143, allocations: 18 kB / 1.128 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002478/1.144, allocations: 388.3 kB / 1.129 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006166/1.144, allocations: 255.6 kB / 1.129 GB, free: 10.22 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009294/1.145, allocations: 0.5606 MB / 1.13 GB, free: 9.859 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001522/1.147, allocations: 0.808 MB / 1.13 GB, free: 9.562 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.828e-06/1.147, allocations: 0 / 1.13 GB, free: 9.562 MB / 0.7136 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002216/1.149, allocations: 0.8501 MB / 1.131 GB, free: 9.48 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.946e-05/1.149, allocations: 8.406 kB / 1.131 GB, free: 9.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.136e-05/1.149, allocations: 10.59 kB / 1.131 GB, free: 9.477 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.718e-05/1.149, allocations: 11.09 kB / 1.131 GB, free: 9.477 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000857/1.15, allocations: 166.3 kB / 1.131 GB, free: 9.473 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.357e-05/1.15, allocations: 16.97 kB / 1.131 GB, free: 9.473 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001619/1.152, allocations: 135.8 kB / 1.132 GB, free: 9.426 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001558/1.152, allocations: 46.39 kB / 1.132 GB, free: 9.418 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (89): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00101/1.153, allocations: 334 kB / 1.132 GB, free: 9.301 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004477/1.153, allocations: 84.59 kB / 1.132 GB, free: 9.258 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00219/1.155, allocations: 0.6207 MB / 1.133 GB, free: 9.191 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.108e-05/1.156, allocations: 9.656 kB / 1.133 GB, free: 9.188 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.177e-05/1.156, allocations: 0.625 kB / 1.133 GB, free: 9.188 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001414/1.157, allocations: 0.5221 MB / 1.133 GB, free: 9.117 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005894/1.163, allocations: 1.767 MB / 1.135 GB, free: 8.652 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.418e-05/1.163, allocations: 6.969 kB / 1.135 GB, free: 8.648 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001031/1.164, allocations: 115 kB / 1.135 GB, free: 8.648 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.004e-05/1.164, allocations: 5.375 kB / 1.135 GB, free: 8.648 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-05/1.164, allocations: 16.02 kB / 1.135 GB, free: 8.648 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.466e-05/1.164, allocations: 4.109 kB / 1.135 GB, free: 8.648 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.759e-06/1.164, allocations: 4.625 kB / 1.135 GB, free: 8.648 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002717/1.167, allocations: 1.08 MB / 1.136 GB, free: 8.387 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008938/1.168, allocations: 235.5 kB / 1.136 GB, free: 8.242 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000268/1.168, allocations: 19.11 kB / 1.136 GB, free: 8.238 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009007/1.169, allocations: 66.8 kB / 1.136 GB, free: 8.23 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.654e-05/1.169, allocations: 35.53 kB / 1.136 GB, free: 8.227 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.604e-05/1.169, allocations: 20.91 kB / 1.136 GB, free: 8.227 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0009464/1.17, allocations: 0.5097 MB / 1.137 GB, free: 8.133 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.1e-07/1.17, allocations: 0 / 1.137 GB, free: 8.133 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001302/1.171, allocations: 304.9 kB / 1.137 GB, free: 8.09 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],vol.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 (51): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006056/1.172, allocations: 205.9 kB / 1.137 GB, free: 7.984 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0011/1.173, allocations: 0.6161 MB / 1.138 GB, free: 7.977 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.13e-05/1.173, allocations: 4.188 kB / 1.138 GB, free: 7.973 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0003851/1.174, allocations: 284.3 kB / 1.138 GB, free: 7.973 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00247/1.176, allocations: 447 kB / 1.139 GB, free: 7.93 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004177/1.18, allocations: 2.502 MB / 1.141 GB, free: 6.617 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008764/1.181, allocations: 1.127 MB / 1.142 GB, free: 5.797 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002861/1.181, allocations: 85.59 kB / 1.142 GB, free: 5.781 MB / 0.7136 GB Notification: Performance of SimCode: time 8.92e-07/1.181, allocations: 2.094 kB / 1.142 GB, free: 5.781 MB / 0.7136 GB Notification: Performance of Templates: time 0.02686/1.208, allocations: 14.8 MB / 1.157 GB, free: 14.43 MB / 0.7292 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1)