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/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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/Buildings 1.6.0+build.1/package.mo): time 0.5195/0.5195, allocations: 94.78 MB / 102.3 MB, free: 10.13 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001436/0.001436, allocations: 176.4 kB / 125.6 MB, free: 11.87 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.769/1.769, allocations: 170.6 MB / 319.4 MB, free: 9.332 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001735/0.001735, allocations: 103.9 kB / 381.3 MB, free: 18.27 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.392e-05/2.393e-05, allocations: 4 kB / 449.1 MB, free: 1.727 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1768/0.1769, allocations: 61.53 MB / 0.4987 GB, free: 4.105 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.814/1.991, allocations: 447.1 MB / 0.9353 GB, free: 147.3 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002995/1.992, allocations: 92.05 kB / 0.9354 GB, free: 147.3 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.8943/2.886, allocations: 212.5 MB / 1.143 GB, free: 109.6 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.617e-06/2.886, allocations: 2.156 kB / 1.143 GB, free: 109.6 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0002653/2.886, allocations: 23.72 kB / 1.143 GB, free: 109.6 MB / 0.5261 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.004881/2.891, allocations: 1.117 MB / 1.144 GB, free: 109 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 7.242e-05/2.891, allocations: 9.438 kB / 1.144 GB, free: 109 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007869/2.892, allocations: 115.6 kB / 1.144 GB, free: 108.9 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002127/2.894, allocations: 0.7856 MB / 1.145 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.241e-05/2.894, allocations: 27.38 kB / 1.145 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001428/2.894, allocations: 46.53 kB / 1.145 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001296/2.896, allocations: 0.5354 MB / 1.146 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001398/2.897, allocations: 0.7211 MB / 1.146 GB, free: 108.5 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.944e-05/2.897, allocations: 5.75 kB / 1.146 GB, free: 108.5 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.478e-05/2.897, allocations: 2.312 kB / 1.146 GB, free: 108.5 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.078e-05/2.897, allocations: 17.86 kB / 1.146 GB, free: 108.5 MB / 0.5261 GB Warning: The model contains alias variables with conflicting start and/or 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.005162/2.902, allocations: 3.608 MB / 1.15 GB, free: 106.3 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008405/2.903, allocations: 387.9 kB / 1.15 GB, free: 106.3 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003517/2.904, allocations: 184.5 kB / 1.15 GB, free: 106.3 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002326/2.906, allocations: 1.276 MB / 1.152 GB, free: 105.4 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.975e-05/2.906, allocations: 50.22 kB / 1.152 GB, free: 105.4 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=37): time 4.288e-06/2.906, allocations: 2.734 kB / 1.152 GB, free: 105.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=42): time 0.003083/2.909, allocations: 1.28 MB / 1.153 GB, free: 104.9 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.929e-05/2.909, allocations: 135.2 kB / 1.153 GB, free: 104.7 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006493/2.91, allocations: 480.4 kB / 1.153 GB, free: 104.6 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.447e-05/2.91, allocations: 28.83 kB / 1.153 GB, free: 104.6 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003005/2.91, allocations: 439.6 kB / 1.154 GB, free: 104.3 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001208/2.91, allocations: 150.5 kB / 1.154 GB, free: 104.2 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.282e-05/2.91, allocations: 1.781 kB / 1.154 GB, free: 104.2 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001614/2.911, allocations: 381.6 kB / 1.154 GB, free: 103.9 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003058/2.911, allocations: 193.9 kB / 1.155 GB, free: 103.9 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004524/2.911, allocations: 440.9 kB / 1.155 GB, free: 103.6 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007174/2.912, allocations: 318.3 kB / 1.155 GB, free: 103.6 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.085e-06/2.912, allocations: 2.469 kB / 1.155 GB, free: 103.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001513/2.914, allocations: 0.7247 MB / 1.156 GB, free: 103.5 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001148/2.914, allocations: 123 kB / 1.156 GB, free: 103.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.916e-05/2.914, allocations: 13.39 kB / 1.156 GB, free: 103.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.068e-05/2.914, allocations: 10 kB / 1.156 GB, free: 103.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005647/2.914, allocations: 160 kB / 1.156 GB, free: 103.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.871e-05/2.914, allocations: 14.73 kB / 1.156 GB, free: 103.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005737/2.915, allocations: 60.95 kB / 1.156 GB, free: 103.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.044e-05/2.915, allocations: 42.2 kB / 1.156 GB, free: 103.4 MB / 0.5261 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 4 * 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.0001642/2.915, allocations: 134.1 kB / 1.157 GB, free: 103.3 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001166/2.915, allocations: 65.56 kB / 1.157 GB, free: 103.3 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009473/2.916, allocations: 448.6 kB / 1.157 GB, free: 103.2 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.699e-06/2.916, allocations: 5.484 kB / 1.157 GB, free: 103.2 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.196e-06/2.916, allocations: 0 / 1.157 GB, free: 103.2 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.617e-06/2.916, allocations: 3.469 kB / 1.157 GB, free: 103.2 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002265/2.919, allocations: 1.065 MB / 1.158 GB, free: 102.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/2.919, allocations: 1.25 kB / 1.158 GB, free: 102.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004881/2.919, allocations: 94.36 kB / 1.158 GB, free: 102.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.977e-06/2.919, allocations: 5.375 kB / 1.158 GB, free: 102.9 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.449e-05/2.919, allocations: 3.219 kB / 1.158 GB, free: 102.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.027e-05/2.919, allocations: 9.578 kB / 1.158 GB, free: 102.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.88e-06/2.919, allocations: 0 / 1.158 GB, free: 102.9 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001335/2.921, allocations: 0.8008 MB / 1.159 GB, free: 102.7 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001814/2.921, allocations: 147.8 kB / 1.159 GB, free: 102.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.922e-05/2.921, allocations: 4.469 kB / 1.159 GB, free: 102.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003943/2.921, allocations: 25.88 kB / 1.159 GB, free: 102.5 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.332e-05/2.921, allocations: 27.16 kB / 1.159 GB, free: 102.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.1e-05/2.921, allocations: 21.7 kB / 1.159 GB, free: 102.5 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0005507/2.922, allocations: 357 kB / 1.16 GB, free: 102.4 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.382e-06/2.922, allocations: 2.938 kB / 1.16 GB, free: 102.4 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001376/2.923, allocations: 240.8 kB / 1.16 GB, free: 102.4 MB / 0.5261 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 () * 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 (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.0009458/2.924, allocations: 314.4 kB / 1.16 GB, free: 102.3 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001169/2.926, allocations: 0.6781 MB / 1.161 GB, free: 102 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.858e-06/2.926, allocations: 0.9375 kB / 1.161 GB, free: 102 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003029/2.926, allocations: 173.1 kB / 1.161 GB, free: 102 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001542/2.927, allocations: 297 kB / 1.161 GB, free: 102 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002878/2.93, allocations: 1.092 MB / 1.162 GB, free: 101.7 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006962/2.931, allocations: 1.022 MB / 1.163 GB, free: 101 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.000839/2.932, allocations: 169.6 kB / 1.163 GB, free: 101 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000194/2.932, allocations: 60.38 kB / 1.163 GB, free: 101 MB / 0.5261 GB Notification: Performance of SimCode: time 1.172e-06/2.932, allocations: 0 / 1.163 GB, free: 101 MB / 0.5261 GB Notification: Performance of Templates: time 0.03178/2.964, allocations: 11.26 MB / 1.174 GB, free: 100.5 MB / 0.5261 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)