Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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_1.6_Buildings.Fluid.Sensors.Examples.TraceSubstances") translateModel(Buildings.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.00866/0.00866, allocations: 106.2 kB / 15.73 MB, free: 5.984 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.001716/0.001716, allocations: 194.8 kB / 16.67 MB, free: 5.906 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.511/1.511, allocations: 205.1 MB / 222.6 MB, free: 4.477 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6767/0.6767, allocations: 95.48 MB / 365.4 MB, free: 9.781 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001742/0.001742, allocations: 74.64 kB / 0.5036 GB, free: 13.45 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1718/0.1736, allocations: 69.09 MB / 0.5711 GB, free: 8.293 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.6802/0.8538, allocations: 158.4 MB / 0.7258 GB, free: 36 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01282/0.8667, allocations: 7.777 MB / 0.7334 GB, free: 8.238 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001222/0.8679, allocations: 27.88 kB / 0.7334 GB, free: 8.211 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001163/0.8692, allocations: 369.5 kB / 0.7338 GB, free: 7.848 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002478/0.8717, allocations: 0.8896 MB / 0.7346 GB, free: 6.953 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002766/0.8744, allocations: 0.9963 MB / 0.7356 GB, free: 5.965 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002506/0.877, allocations: 2.158 MB / 0.7377 GB, free: 3.797 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001062/0.878, allocations: 0.7994 MB / 0.7385 GB, free: 2.988 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001882/0.8799, allocations: 0.8558 MB / 0.7393 GB, free: 2.137 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009627/0.8809, allocations: 0.7121 MB / 0.74 GB, free: 1.422 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001241/0.881, allocations: 87.94 kB / 0.7401 GB, free: 1.336 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009872/0.882, allocations: 375.5 kB / 0.7405 GB, free: 0.9688 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003287/0.8824, allocations: 319.1 kB / 0.7408 GB, free: 0.6562 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005275/0.8829, allocations: 0.5056 MB / 0.7413 GB, free: 152 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001695/0.8846, allocations: 1.363 MB / 0.7426 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.8846, allocations: 0 / 0.7426 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.406e-06/0.8846, allocations: 4 kB / 0.7426 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.314e-05/0.8847, allocations: 0 / 0.7426 GB, free: 14.78 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.00194/0.8866, allocations: 1.301 MB / 0.7439 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.8867, allocations: 15.98 kB / 0.7439 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004499/0.8871, allocations: 119.8 kB / 0.744 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001231/0.8883, allocations: 0.6605 MB / 0.7447 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.368e-05/0.8884, allocations: 50 kB / 0.7447 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001222/0.8885, allocations: 79.91 kB / 0.7448 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001279/0.8898, allocations: 0.8744 MB / 0.7456 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.14e-05/0.8899, allocations: 4 kB / 0.7456 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.529e-05/0.8899, allocations: 32 kB / 0.7457 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.789e-05/0.89, allocations: 16 kB / 0.7457 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001005/0.891, allocations: 0.6451 MB / 0.7463 GB, free: 10.8 MB / 0.5606 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.004579/0.8956, allocations: 4.087 MB / 0.7503 GB, free: 6.402 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007668/0.8963, allocations: 431.2 kB / 0.7507 GB, free: 5.965 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003341/0.8967, allocations: 206.8 kB / 0.7509 GB, free: 5.758 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00191/0.8986, allocations: 1.314 MB / 0.7522 GB, free: 4.324 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.616e-05/0.8987, allocations: 46.41 kB / 0.7522 GB, free: 4.27 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=37): time 1.904e-06/0.8987, allocations: 0 / 0.7522 GB, free: 4.27 MB / 0.5606 GB Notification: Performance of matching and sorting (n=42): time 0.002883/0.9015, allocations: 1.436 MB / 0.7536 GB, free: 2.777 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.142e-05/0.9017, allocations: 136.5 kB / 0.7538 GB, free: 2.613 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008061/0.9025, allocations: 0.6957 MB / 0.7545 GB, free: 1.906 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.372e-05/0.9025, allocations: 37.7 kB / 0.7545 GB, free: 1.863 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002937/0.9028, allocations: 435.4 kB / 0.7549 GB, free: 1.434 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001183/0.9029, allocations: 157.7 kB / 0.7551 GB, free: 1.277 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002024/0.9032, allocations: 142.6 kB / 0.7552 GB, free: 1.129 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001701/0.9033, allocations: 386.8 kB / 0.7556 GB, free: 0.7422 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003696/0.9037, allocations: 225.8 kB / 0.7558 GB, free: 0.5234 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005362/0.9043, allocations: 469.9 kB / 0.7562 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009705/0.9052, allocations: 0.7847 MB / 0.757 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.9052, allocations: 4 kB / 0.757 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001296/0.9066, allocations: 0.8994 MB / 0.7579 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 9.002e-05/0.9066, allocations: 129.9 kB / 0.758 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.477e-05/0.9067, allocations: 12.12 kB / 0.758 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.73e-05/0.9067, allocations: 12 kB / 0.758 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005744/0.9073, allocations: 155.8 kB / 0.7582 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.018e-05/0.9073, allocations: 21.48 kB / 0.7582 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000429/0.9078, allocations: 27.94 kB / 0.7582 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.341e-05/0.9078, allocations: 36 kB / 0.7582 GB, free: 13.71 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (87): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 4 * 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.0003634/0.9082, allocations: 273.5 kB / 0.7585 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001355/0.9083, allocations: 79.06 kB / 0.7586 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007999/0.9091, allocations: 453.7 kB / 0.759 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.481e-06/0.9092, allocations: 4 kB / 0.759 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.277e-06/0.9092, allocations: 3.984 kB / 0.759 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.356e-06/0.9092, allocations: 3.938 kB / 0.759 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001696/0.9109, allocations: 1.152 MB / 0.7602 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.9109, allocations: 4 kB / 0.7602 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004229/0.9113, allocations: 91.89 kB / 0.7602 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.9114, allocations: 7.938 kB / 0.7603 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.061e-05/0.9114, allocations: 8 kB / 0.7603 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.9114, allocations: 3.984 kB / 0.7603 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.137e-06/0.9114, allocations: 8 kB / 0.7603 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001071/0.9125, allocations: 0.8053 MB / 0.7611 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001633/0.9127, allocations: 148.1 kB / 0.7612 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.979e-05/0.9128, allocations: 11.94 kB / 0.7612 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003202/0.9131, allocations: 19.92 kB / 0.7612 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.731e-05/0.9132, allocations: 23.97 kB / 0.7613 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.89e-05/0.9132, allocations: 8 kB / 0.7613 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005351/0.9137, allocations: 495 kB / 0.7617 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9138, allocations: 0 / 0.7617 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008597/0.9146, allocations: 247.9 kB / 0.762 GB, free: 9.793 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (vol.dynBal.medium.p,vol.dynBal.medium.T,vol.dynBal.mC[1],senTraSub.C) * 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 (42): * Single equations (assignments): 42 * 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.0009464/0.9156, allocations: 267.7 kB / 0.7622 GB, free: 9.535 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00124/0.9168, allocations: 0.7439 MB / 0.763 GB, free: 8.742 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.9169, allocations: 0 / 0.763 GB, free: 8.742 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003237/0.9172, allocations: 187.8 kB / 0.7631 GB, free: 8.559 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001956/0.9192, allocations: 406.2 kB / 0.7635 GB, free: 8.176 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002892/0.9221, allocations: 1.52 MB / 0.765 GB, free: 6.621 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000741/0.9228, allocations: 1 MB / 0.766 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007169/0.9235, allocations: 178.5 kB / 0.7662 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001799/0.9237, allocations: 63.44 kB / 0.7662 GB, free: 5.352 MB / 0.5762 GB Notification: Performance of SimCode: time 2.5e-07/0.9237, allocations: 3.938 kB / 0.7662 GB, free: 5.348 MB / 0.5762 GB Notification: Performance of Templates: time 0.03049/0.9542, allocations: 14.32 MB / 0.7802 GB, free: 7.176 MB / 0.5919 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.TraceSubstances.makefile (rm -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Sensors.Examples.TraceSubstances.sim & ./Buildings_1.6_Buildings.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1)