Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances") translateModel(Buildings.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.729/1.729, allocations: 297.8 MB / 313.7 MB, free: 136 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001042/0.001042, allocations: 183.5 kB / 384.6 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.673/1.673, allocations: 223.2 MB / 0.6626 GB, free: 4.25 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009606/0.0009606, allocations: 95.19 kB / 0.7808 GB, free: 50.45 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004923/0.0004924, allocations: 16.47 kB / 0.9088 GB, free: 2.875 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9585/0.959, allocations: 120.3 MB / 1.026 GB, free: 55.79 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.343/6.302, allocations: 1.964 GB / 2.991 GB, free: 263.3 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003655/6.303, allocations: 90.78 kB / 2.991 GB, free: 263.3 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 2.658/8.961, allocations: 0.6635 GB / 3.654 GB, free: 154.4 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.655e-06/8.961, allocations: 1.281 kB / 3.654 GB, free: 154.4 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0001717/8.961, allocations: 26.28 kB / 3.654 GB, free: 154.4 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.005375/8.966, allocations: 1.459 MB / 3.656 GB, free: 153.9 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.769e-05/8.966, allocations: 12.77 kB / 3.656 GB, free: 153.9 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002023/8.968, allocations: 243 kB / 3.656 GB, free: 153.9 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003302/8.972, allocations: 0.9757 MB / 3.657 GB, free: 153.6 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001416/8.972, allocations: 74.16 kB / 3.657 GB, free: 153.6 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004613/8.972, allocations: 95.47 kB / 3.657 GB, free: 153.6 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002884/8.975, allocations: 1.137 MB / 3.658 GB, free: 153.4 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.577e-05/8.975, allocations: 1.281 kB / 3.658 GB, free: 153.4 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001147/8.975, allocations: 37.56 kB / 3.658 GB, free: 153.4 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-05/8.975, allocations: 35.97 kB / 3.658 GB, free: 153.4 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001479/8.977, allocations: 0.8552 MB / 3.659 GB, free: 153.4 MB / 0.9792 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.005608/8.982, allocations: 5.706 MB / 3.665 GB, free: 149.7 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000814/8.983, allocations: 0.5703 MB / 3.665 GB, free: 149.6 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003773/8.984, allocations: 318.2 kB / 3.666 GB, free: 149.6 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005042/8.984, allocations: 309.2 kB / 3.666 GB, free: 149.3 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.216e-05/8.984, allocations: 38.66 kB / 3.666 GB, free: 149.3 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=51): time 3.006e-06/8.984, allocations: 6.062 kB / 3.666 GB, free: 149.3 MB / 0.9792 GB Notification: Performance of matching and sorting (n=51): time 0.001538/8.986, allocations: 0.8029 MB / 3.667 GB, free: 149.2 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.581e-05/8.986, allocations: 87.33 kB / 3.667 GB, free: 149.1 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009109/8.987, allocations: 0.7405 MB / 3.667 GB, free: 149 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 6.195e-05/8.987, allocations: 45.08 kB / 3.668 GB, free: 148.9 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003484/8.987, allocations: 0.4947 MB / 3.668 GB, free: 148.7 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.000164/8.987, allocations: 180.4 kB / 3.668 GB, free: 148.7 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.082e-05/8.987, allocations: 12.97 kB / 3.668 GB, free: 148.7 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 9.663e-05/8.988, allocations: 341.5 kB / 3.668 GB, free: 148.3 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003493/8.988, allocations: 246.8 kB / 3.669 GB, free: 148.3 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005441/8.988, allocations: 0.581 MB / 3.669 GB, free: 147.9 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008783/8.989, allocations: 0.7955 MB / 3.67 GB, free: 147.7 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/8.989, allocations: 2.875 kB / 3.67 GB, free: 147.7 MB / 0.9792 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001202/8.991, allocations: 0.849 MB / 3.671 GB, free: 147.6 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 2.487e-05/8.991, allocations: 12.5 kB / 3.671 GB, free: 147.6 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/8.991, allocations: 9.062 kB / 3.671 GB, free: 147.6 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.439e-05/8.991, allocations: 16.88 kB / 3.671 GB, free: 147.6 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006092/8.991, allocations: 160.4 kB / 3.671 GB, free: 147.6 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.138e-05/8.991, allocations: 17.69 kB / 3.671 GB, free: 147.6 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001077/8.992, allocations: 144.3 kB / 3.671 GB, free: 147.6 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.227e-05/8.992, allocations: 33.53 kB / 3.671 GB, free: 147.6 MB / 0.9792 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005366/8.993, allocations: 332.3 kB / 3.672 GB, free: 147.4 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001316/8.993, allocations: 88.92 kB / 3.672 GB, free: 147.4 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000954/8.994, allocations: 0.6252 MB / 3.672 GB, free: 147.3 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.117e-06/8.994, allocations: 10.34 kB / 3.672 GB, free: 147.3 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/8.994, allocations: 0 / 3.672 GB, free: 147.3 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006558/8.995, allocations: 0.5161 MB / 3.673 GB, free: 147.3 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002484/8.997, allocations: 1.759 MB / 3.675 GB, free: 146.8 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/8.997, allocations: 3.438 kB / 3.675 GB, free: 146.8 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004923/8.998, allocations: 117 kB / 3.675 GB, free: 146.8 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.908e-06/8.998, allocations: 3.281 kB / 3.675 GB, free: 146.8 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.644e-05/8.998, allocations: 16.41 kB / 3.675 GB, free: 146.8 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.504e-06/8.998, allocations: 6.531 kB / 3.675 GB, free: 146.8 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/8.998, allocations: 3.312 kB / 3.675 GB, free: 146.8 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001331/8.999, allocations: 1.066 MB / 3.676 GB, free: 146.6 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004324/9, allocations: 228.8 kB / 3.676 GB, free: 146.4 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001024/9, allocations: 18.33 kB / 3.676 GB, free: 146.4 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005609/9, allocations: 66.53 kB / 3.676 GB, free: 146.4 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.471e-05/9, allocations: 40.36 kB / 3.676 GB, free: 146.4 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.427e-05/9, allocations: 19.88 kB / 3.676 GB, free: 146.4 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0006035/9.001, allocations: 0.5082 MB / 3.677 GB, free: 146.3 MB / 0.9792 GB Notification: Performance of sort global known variables: time 2.31e-07/9.001, allocations: 0 / 3.677 GB, free: 146.3 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.001777/9.003, allocations: 485.6 kB / 3.677 GB, free: 146.3 MB / 0.9792 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00281/9.006, allocations: 1.9 MB / 3.679 GB, free: 145.7 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.001166/9.007, allocations: 0.6068 MB / 3.679 GB, free: 145.7 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/9.007, allocations: 7.594 kB / 3.679 GB, free: 145.7 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0003299/9.007, allocations: 275.8 kB / 3.68 GB, free: 145.7 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002309/9.01, allocations: 435.2 kB / 3.68 GB, free: 145.7 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00321/9.013, allocations: 2.4 MB / 3.683 GB, free: 144.7 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000528/9.013, allocations: 1.117 MB / 3.684 GB, free: 144 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0009537/9.014, allocations: 280.8 kB / 3.684 GB, free: 144 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001849/9.014, allocations: 78.56 kB / 3.684 GB, free: 144 MB / 0.9792 GB Notification: Performance of SimCode: time 6.51e-07/9.014, allocations: 1.5 kB / 3.684 GB, free: 144 MB / 0.9792 GB Notification: Performance of Templates: time 0.05688/9.071, allocations: 37.39 MB / 3.72 GB, free: 143.1 MB / 0.9792 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.makefile (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1)