Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TraceSubstances") translateModel(BuildingSystems.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TraceSubstances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7751/0.7751, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 177.3 kB / 187.3 MB, free: 11.89 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 221.3 MB / 441.4 MB, free: 4.605 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001178/0.001179, allocations: 94.97 kB / 0.5124 GB, free: 24.29 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00294/0.00294, allocations: 278.8 kB / 0.5939 GB, free: 7.957 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.882e-05/3.884e-05, allocations: 4 kB / 0.6834 GB, free: 12.24 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4336/0.4337, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.51/4.944, allocations: 1.933 GB / 2.697 GB, free: 75.19 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002936/4.944, allocations: 91.58 kB / 2.697 GB, free: 75.15 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.587/7.531, allocations: 0.6646 GB / 3.362 GB, free: 113.4 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.823e-06/7.531, allocations: 0 / 3.362 GB, free: 113.4 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.841e-05/7.531, allocations: 32.86 kB / 3.362 GB, free: 113.4 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.002875/7.534, allocations: 1.327 MB / 3.363 GB, free: 112.9 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.226e-05/7.534, allocations: 7.781 kB / 3.363 GB, free: 112.9 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001379/7.535, allocations: 244.6 kB / 3.363 GB, free: 112.8 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003047/7.538, allocations: 1.105 MB / 3.364 GB, free: 112.6 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.446e-05/7.538, allocations: 73.12 kB / 3.365 GB, free: 112.6 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001875/7.539, allocations: 97.33 kB / 3.365 GB, free: 112.6 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001988/7.541, allocations: 1.1 MB / 3.366 GB, free: 112.3 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.126e-05/7.541, allocations: 6.031 kB / 3.366 GB, free: 112.3 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.333e-05/7.541, allocations: 42.88 kB / 3.366 GB, free: 112.3 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.875e-05/7.541, allocations: 33.94 kB / 3.366 GB, free: 112.3 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001342/7.542, allocations: 0.8273 MB / 3.367 GB, free: 112.3 MB / 0.698 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.005435/7.548, allocations: 5.698 MB / 3.372 GB, free: 108.6 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007719/7.548, allocations: 0.5228 MB / 3.373 GB, free: 108.6 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003548/7.549, allocations: 302.1 kB / 3.373 GB, free: 108.6 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005337/7.549, allocations: 311.4 kB / 3.373 GB, free: 108.3 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.18e-05/7.549, allocations: 39.59 kB / 3.373 GB, free: 108.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=49): time 3.297e-06/7.549, allocations: 0 / 3.373 GB, free: 108.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=49): time 0.001211/7.551, allocations: 0.5806 MB / 3.374 GB, free: 108.2 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.408e-05/7.551, allocations: 54.72 kB / 3.374 GB, free: 108.1 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007703/7.551, allocations: 0.642 MB / 3.375 GB, free: 108 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.074e-05/7.551, allocations: 35.61 kB / 3.375 GB, free: 108 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003204/7.552, allocations: 0.5077 MB / 3.375 GB, free: 107.8 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000145/7.552, allocations: 180.4 kB / 3.375 GB, free: 107.7 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.26e-05/7.552, allocations: 15.81 kB / 3.375 GB, free: 107.7 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.93e-05/7.552, allocations: 334.2 kB / 3.376 GB, free: 107.4 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003433/7.552, allocations: 234.2 kB / 3.376 GB, free: 107.4 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004968/7.553, allocations: 0.5705 MB / 3.376 GB, free: 107 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000456/7.553, allocations: 341.8 kB / 3.377 GB, free: 107 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.983e-06/7.553, allocations: 7.641 kB / 3.377 GB, free: 107 MB / 0.698 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00112/7.555, allocations: 0.826 MB / 3.377 GB, free: 106.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.443e-05/7.555, allocations: 14 kB / 3.377 GB, free: 106.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.363e-05/7.555, allocations: 10.81 kB / 3.377 GB, free: 106.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.438e-05/7.555, allocations: 11.38 kB / 3.378 GB, free: 106.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005438/7.555, allocations: 152.9 kB / 3.378 GB, free: 106.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.975e-05/7.555, allocations: 17.8 kB / 3.378 GB, free: 106.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009394/7.556, allocations: 141.4 kB / 3.378 GB, free: 106.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.454e-05/7.556, allocations: 34.94 kB / 3.378 GB, free: 106.9 MB / 0.698 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001522/7.556, allocations: 154.1 kB / 3.378 GB, free: 106.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001223/7.557, allocations: 91.08 kB / 3.378 GB, free: 106.7 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009671/7.558, allocations: 0.5938 MB / 3.379 GB, free: 106.6 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/7.558, allocations: 6.625 kB / 3.379 GB, free: 106.6 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.271e-06/7.558, allocations: 0 / 3.379 GB, free: 106.6 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006809/7.558, allocations: 0.5058 MB / 3.379 GB, free: 106.6 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002421/7.561, allocations: 1.638 MB / 3.381 GB, free: 106.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/7.561, allocations: 0 / 3.381 GB, free: 106.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004828/7.561, allocations: 112.5 kB / 3.381 GB, free: 106.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.246e-06/7.561, allocations: 3.594 kB / 3.381 GB, free: 106.2 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.822e-05/7.561, allocations: 16.75 kB / 3.381 GB, free: 106.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/7.561, allocations: 6.219 kB / 3.381 GB, free: 106.2 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/7.561, allocations: 10.86 kB / 3.381 GB, free: 106.2 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001146/7.562, allocations: 1.101 MB / 3.382 GB, free: 105.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003704/7.563, allocations: 225.6 kB / 3.382 GB, free: 105.7 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.668e-05/7.563, allocations: 15.69 kB / 3.382 GB, free: 105.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005431/7.563, allocations: 66.03 kB / 3.382 GB, free: 105.7 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.418e-05/7.564, allocations: 40.2 kB / 3.382 GB, free: 105.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.269e-05/7.564, allocations: 22.27 kB / 3.382 GB, free: 105.7 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005321/7.564, allocations: 0.4904 MB / 3.383 GB, free: 105.6 MB / 0.698 GB Notification: Performance of sort global known variables: time 2e-07/7.564, allocations: 0 / 3.383 GB, free: 105.6 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001484/7.566, allocations: 488 kB / 3.383 GB, free: 105.6 MB / 0.698 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 () * 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 (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.002445/7.568, allocations: 1.903 MB / 3.385 GB, free: 105 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000984/7.569, allocations: 0.5792 MB / 3.386 GB, free: 105 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/7.569, allocations: 0 / 3.386 GB, free: 105 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002958/7.569, allocations: 271.8 kB / 3.386 GB, free: 105 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002042/7.571, allocations: 432.8 kB / 3.386 GB, free: 105 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002361/7.574, allocations: 1.526 MB / 3.388 GB, free: 104.6 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005164/7.574, allocations: 1.143 MB / 3.389 GB, free: 103.9 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000841/7.575, allocations: 271.2 kB / 3.389 GB, free: 103.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001704/7.575, allocations: 72.66 kB / 3.389 GB, free: 103.9 MB / 0.698 GB Notification: Performance of SimCode: time 7.31e-07/7.575, allocations: 0 / 3.389 GB, free: 103.9 MB / 0.698 GB Notification: Performance of Templates: time 0.05224/7.628, allocations: 41.5 MB / 3.43 GB, free: 102.1 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TraceSubstances.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TraceSubstances.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1)