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/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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) 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008682/0.0008683, allocations: 91.14 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006395/0.006395, allocations: 172 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.701/1.701, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.558/1.558, allocations: 252 MB / 0.5105 GB, free: 4.641 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005522/0.0005522, allocations: 16 kB / 0.6249 GB, free: 0.6914 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6054/0.606, allocations: 106.3 MB / 0.7287 GB, free: 11.23 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.773/1.379, allocations: 190.5 MB / 0.9148 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0191/1.398, allocations: 14.28 MB / 0.9287 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001885/1.4, allocations: 28.91 kB / 0.9287 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002137/1.402, allocations: 417.5 kB / 0.9291 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.006375/1.409, allocations: 1.772 MB / 0.9309 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003433/1.412, allocations: 0.797 MB / 0.9316 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.005027/1.417, allocations: 3.662 MB / 0.9352 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001578/1.419, allocations: 0.9098 MB / 0.9361 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004875/1.424, allocations: 1.428 MB / 0.9375 GB, free: 1.559 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0024/1.426, allocations: 0.915 MB / 0.9384 GB, free: 1.559 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0003889/1.426, allocations: 49.27 kB / 0.9384 GB, free: 1.559 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003322/1.43, allocations: 1.245 MB / 0.9397 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0009048/1.431, allocations: 453.3 kB / 0.9401 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001875/1.433, allocations: 0.5737 MB / 0.9407 GB, free: 17.51 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003506/1.436, allocations: 1.907 MB / 0.9425 GB, free: 17.4 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/1.436, allocations: 0 / 0.9425 GB, free: 17.4 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.165e-06/1.436, allocations: 0 / 0.9425 GB, free: 17.4 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.719e-05/1.436, allocations: 0 / 0.9425 GB, free: 17.4 MB / 0.7325 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.00261/1.439, allocations: 1.22 MB / 0.9437 GB, free: 16.65 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/1.439, allocations: 10.44 kB / 0.9437 GB, free: 16.65 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001604/1.441, allocations: 254.6 kB / 0.944 GB, free: 16.59 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00143/1.442, allocations: 0.7427 MB / 0.9447 GB, free: 16.27 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.152e-05/1.442, allocations: 76.67 kB / 0.9448 GB, free: 16.27 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001873/1.442, allocations: 91.16 kB / 0.9448 GB, free: 16.27 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001942/1.444, allocations: 1.181 MB / 0.946 GB, free: 16.04 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.726e-05/1.444, allocations: 8.938 kB / 0.946 GB, free: 16.04 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.628e-05/1.444, allocations: 38.91 kB / 0.946 GB, free: 16.04 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.011e-05/1.444, allocations: 33.25 kB / 0.9461 GB, free: 16.03 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001318/1.446, allocations: 0.9076 MB / 0.947 GB, free: 16.02 MB / 0.7325 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.006536/1.452, allocations: 5.718 MB / 0.9525 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007161/1.453, allocations: 0.4969 MB / 0.953 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003658/1.453, allocations: 315.7 kB / 0.9533 GB, free: 12.19 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006157/1.454, allocations: 327.7 kB / 0.9536 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.684e-05/1.454, allocations: 40.91 kB / 0.9537 GB, free: 11.87 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=49): time 2.615e-06/1.454, allocations: 4 kB / 0.9537 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of matching and sorting (n=49): time 0.001499/1.456, allocations: 0.7858 MB / 0.9545 GB, free: 11.78 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.845e-05/1.456, allocations: 61.19 kB / 0.9545 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001141/1.457, allocations: 0.7406 MB / 0.9552 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001251/1.457, allocations: 40.95 kB / 0.9553 GB, free: 11.54 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005022/1.457, allocations: 0.4926 MB / 0.9558 GB, free: 11.3 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003162/1.458, allocations: 177.4 kB / 0.9559 GB, free: 11.19 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001199/1.458, allocations: 68.16 kB / 0.956 GB, free: 11.17 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002103/1.458, allocations: 389.6 kB / 0.9564 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004557/1.459, allocations: 248.6 kB / 0.9566 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00079/1.459, allocations: 0.5403 MB / 0.9571 GB, free: 10.51 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001235/1.461, allocations: 0.792 MB / 0.9579 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.117e-05/1.461, allocations: 2.625 kB / 0.9579 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001552/1.462, allocations: 0.8378 MB / 0.9587 GB, free: 10.12 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.796e-05/1.462, allocations: 13.52 kB / 0.9587 GB, free: 10.12 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.907e-05/1.462, allocations: 9.406 kB / 0.9587 GB, free: 10.12 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.355e-05/1.462, allocations: 11.12 kB / 0.9588 GB, free: 10.12 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006096/1.463, allocations: 150 kB / 0.9589 GB, free: 10.12 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.207e-05/1.463, allocations: 21.62 kB / 0.9589 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001226/1.464, allocations: 133.5 kB / 0.959 GB, free: 10.06 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.814e-05/1.464, allocations: 39.92 kB / 0.9591 GB, free: 10.06 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * 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 (86): * Single equations (assignments): 86 * 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.000666/1.465, allocations: 333.7 kB / 0.9594 GB, free: 9.941 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002493/1.465, allocations: 85.72 kB / 0.9595 GB, free: 9.898 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001162/1.466, allocations: 0.6133 MB / 0.9601 GB, free: 9.832 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.063e-05/1.466, allocations: 9.281 kB / 0.9601 GB, free: 9.828 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.677e-06/1.466, allocations: 3.938 kB / 0.9601 GB, free: 9.824 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007599/1.467, allocations: 0.5188 MB / 0.9606 GB, free: 9.754 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00399/1.471, allocations: 1.657 MB / 0.9622 GB, free: 9.371 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.295e-05/1.471, allocations: 3.531 kB / 0.9622 GB, free: 9.371 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005767/1.472, allocations: 111.7 kB / 0.9623 GB, free: 9.371 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.797e-05/1.472, allocations: 3.5 kB / 0.9623 GB, free: 9.371 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.969e-05/1.472, allocations: 11.86 kB / 0.9623 GB, free: 9.371 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.321e-05/1.472, allocations: 8.969 kB / 0.9624 GB, free: 9.371 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/1.472, allocations: 224 / 0.9624 GB, free: 9.371 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001605/1.474, allocations: 1.06 MB / 0.9634 GB, free: 9.113 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004823/1.474, allocations: 221.6 kB / 0.9636 GB, free: 8.973 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001733/1.474, allocations: 13.09 kB / 0.9636 GB, free: 8.973 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007388/1.475, allocations: 70.27 kB / 0.9637 GB, free: 8.965 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.381e-05/1.475, allocations: 37.31 kB / 0.9637 GB, free: 8.961 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.072e-05/1.475, allocations: 20.19 kB / 0.9637 GB, free: 8.961 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0008656/1.476, allocations: 0.5069 MB / 0.9642 GB, free: 8.863 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.21e-07/1.476, allocations: 0 / 0.9642 GB, free: 8.863 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001403/1.477, allocations: 302.3 kB / 0.9645 GB, free: 8.824 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (49): * Single equations (assignments): 49 * 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.0005501/1.478, allocations: 206.4 kB / 0.9647 GB, free: 8.711 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0009813/1.479, allocations: 0.5995 MB / 0.9653 GB, free: 8.699 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/1.479, allocations: 0 / 0.9653 GB, free: 8.699 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003602/1.479, allocations: 270.5 kB / 0.9656 GB, free: 8.695 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002574/1.482, allocations: 435.8 kB / 0.966 GB, free: 8.664 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004082/1.486, allocations: 2.387 MB / 0.9683 GB, free: 7.402 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009697/1.487, allocations: 1.119 MB / 0.9694 GB, free: 6.691 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001108/1.488, allocations: 270.3 kB / 0.9697 GB, free: 6.641 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002456/1.488, allocations: 71.17 kB / 0.9697 GB, free: 6.633 MB / 0.7325 GB Notification: Performance of SimCode: time 8.62e-07/1.488, allocations: 0 / 0.9697 GB, free: 6.633 MB / 0.7325 GB Notification: Performance of Templates: time 0.02842/1.517, allocations: 14.77 MB / 0.9842 GB, free: 1.395 MB / 0.7325 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: