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 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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.9637/0.9637, allocations: 140.1 MB / 156 MB, free: 5.184 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001432/0.001432, allocations: 179.2 kB / 188.5 MB, free: 15.84 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.991/1.991, allocations: 205.4 MB / 426.3 MB, free: 8.484 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009844/0.0009844, allocations: 86.36 kB / 0.4945 GB, free: 8.414 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001833/0.001833, allocations: 272.8 kB / 0.5728 GB, free: 66.22 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007014/0.0007021, allocations: 19.98 kB / 0.662 GB, free: 6.812 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4898/0.4905, allocations: 79.3 MB / 0.7395 GB, free: 46.36 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.56/6.05, allocations: 2.098 GB / 2.837 GB, free: 106.7 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003528/6.051, allocations: 91.95 kB / 2.837 GB, free: 106.7 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 2.548/8.599, allocations: 0.6553 GB / 3.493 GB, free: 111.3 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.615e-06/8.599, allocations: 3.594 kB / 3.493 GB, free: 111.3 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.84e-05/8.599, allocations: 30.45 kB / 3.493 GB, free: 111.3 MB / 0.6823 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.003138/8.602, allocations: 1.453 MB / 3.494 GB, free: 110.8 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/8.603, allocations: 10.25 kB / 3.494 GB, free: 110.8 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001334/8.604, allocations: 258.6 kB / 3.494 GB, free: 110.7 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001908/8.606, allocations: 0.9851 MB / 3.495 GB, free: 110.5 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.339e-05/8.606, allocations: 70.09 kB / 3.495 GB, free: 110.5 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001265/8.606, allocations: 96.44 kB / 3.496 GB, free: 110.5 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001549/8.608, allocations: 1.13 MB / 3.497 GB, free: 110.2 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.033e-05/8.608, allocations: 3.094 kB / 3.497 GB, free: 110.2 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.604e-05/8.608, allocations: 37.53 kB / 3.497 GB, free: 110.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-05/8.608, allocations: 36.66 kB / 3.497 GB, free: 110.2 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001221/8.609, allocations: 0.8517 MB / 3.498 GB, free: 110.2 MB / 0.6823 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.005085/8.614, allocations: 5.716 MB / 3.503 GB, free: 106.5 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008175/8.615, allocations: 0.5665 MB / 3.504 GB, free: 106.5 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00042/8.615, allocations: 324.3 kB / 3.504 GB, free: 106.5 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000527/8.616, allocations: 311.7 kB / 3.504 GB, free: 106.2 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.34e-05/8.616, allocations: 37.09 kB / 3.504 GB, free: 106.1 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=51): time 3.517e-06/8.616, allocations: 2.938 kB / 3.504 GB, free: 106.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=51): time 0.00153/8.617, allocations: 0.8048 MB / 3.505 GB, free: 106 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.299e-05/8.618, allocations: 80.92 kB / 3.505 GB, free: 105.9 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000846/8.618, allocations: 0.7423 MB / 3.506 GB, free: 105.8 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.589e-05/8.618, allocations: 38.05 kB / 3.506 GB, free: 105.8 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002925/8.619, allocations: 0.5016 MB / 3.506 GB, free: 105.6 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001555/8.619, allocations: 185 kB / 3.507 GB, free: 105.5 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.344e-05/8.619, allocations: 11.69 kB / 3.507 GB, free: 105.5 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.391e-05/8.619, allocations: 344.5 kB / 3.507 GB, free: 105.2 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003363/8.619, allocations: 247.1 kB / 3.507 GB, free: 105.2 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005286/8.62, allocations: 0.5823 MB / 3.508 GB, free: 104.8 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008434/8.621, allocations: 0.794 MB / 3.509 GB, free: 104.5 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/8.621, allocations: 6.031 kB / 3.509 GB, free: 104.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001153/8.622, allocations: 0.8482 MB / 3.509 GB, free: 104.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/8.622, allocations: 9.375 kB / 3.509 GB, free: 104.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/8.622, allocations: 6.688 kB / 3.509 GB, free: 104.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.494e-05/8.622, allocations: 19.91 kB / 3.509 GB, free: 104.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005601/8.623, allocations: 157.8 kB / 3.51 GB, free: 104.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.724e-05/8.623, allocations: 22.5 kB / 3.51 GB, free: 104.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009723/8.624, allocations: 137.4 kB / 3.51 GB, free: 104.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.072e-05/8.624, allocations: 42.06 kB / 3.51 GB, free: 104.4 MB / 0.6823 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.0006173/8.624, allocations: 334.1 kB / 3.51 GB, free: 104.3 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001367/8.624, allocations: 86.44 kB / 3.51 GB, free: 104.2 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009138/8.625, allocations: 0.6176 MB / 3.511 GB, free: 104.2 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.583e-06/8.625, allocations: 9.406 kB / 3.511 GB, free: 104.2 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/8.625, allocations: 2.812 kB / 3.511 GB, free: 104.2 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006279/8.626, allocations: 0.5168 MB / 3.511 GB, free: 104.1 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002383/8.628, allocations: 1.766 MB / 3.513 GB, free: 103.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/8.628, allocations: 3.25 kB / 3.513 GB, free: 103.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005072/8.629, allocations: 114.7 kB / 3.513 GB, free: 103.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.235e-06/8.629, allocations: 10.33 kB / 3.513 GB, free: 103.7 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.545e-05/8.629, allocations: 16.41 kB / 3.513 GB, free: 103.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.061e-06/8.629, allocations: 8.062 kB / 3.513 GB, free: 103.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/8.629, allocations: 6.281 kB / 3.513 GB, free: 103.7 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001229/8.63, allocations: 1.062 MB / 3.514 GB, free: 103.4 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000358/8.631, allocations: 233.3 kB / 3.514 GB, free: 103.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001/8.631, allocations: 17.69 kB / 3.514 GB, free: 103.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005486/8.631, allocations: 61.77 kB / 3.514 GB, free: 103.3 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.281e-05/8.631, allocations: 38.73 kB / 3.514 GB, free: 103.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.69e-05/8.631, allocations: 21.22 kB / 3.515 GB, free: 103.2 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0006216/8.632, allocations: 0.5049 MB / 3.515 GB, free: 103.2 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.01e-07/8.632, allocations: 0 / 3.515 GB, free: 103.2 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00162/8.634, allocations: 486.7 kB / 3.515 GB, free: 103.1 MB / 0.6823 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.002612/8.636, allocations: 1.9 MB / 3.517 GB, free: 102.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001036/8.637, allocations: 0.6042 MB / 3.518 GB, free: 102.5 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/8.637, allocations: 5.125 kB / 3.518 GB, free: 102.5 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003273/8.638, allocations: 276.7 kB / 3.518 GB, free: 102.5 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0023/8.64, allocations: 437.4 kB / 3.519 GB, free: 102.5 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004257/8.644, allocations: 2.392 MB / 3.521 GB, free: 101.5 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009809/8.645, allocations: 1.122 MB / 3.522 GB, free: 100.8 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001163/8.646, allocations: 274.2 kB / 3.522 GB, free: 100.8 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002655/8.647, allocations: 79.67 kB / 3.522 GB, free: 100.8 MB / 0.6823 GB Notification: Performance of SimCode: time 8.92e-07/8.647, allocations: 0 / 3.522 GB, free: 100.8 MB / 0.6823 GB Notification: Performance of Templates: time 0.05487/8.702, allocations: 37.4 MB / 3.559 GB, free: 99.51 MB / 0.6823 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)