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.837/0.837, allocations: 141.8 MB / 149.3 MB, free: 9.227 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001539/0.001539, allocations: 179.8 kB / 182.2 MB, free: 9.473 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.374/1.374, allocations: 221.5 MB / 436.4 MB, free: 13.37 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.0009941/0.0009941, allocations: 88.11 kB / 0.5074 GB, free: 10.2 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001816/0.001816, allocations: 275.4 kB / 0.5889 GB, free: 54.7 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.742e-05/2.737e-05, allocations: 4 kB / 0.6765 GB, free: 12.87 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4084/0.4085, allocations: 82.77 MB / 0.7574 GB, free: 32.06 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.395/4.804, allocations: 1.932 GB / 2.69 GB, free: 126 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002465/4.804, allocations: 95.81 kB / 2.69 GB, free: 125.9 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.467/7.271, allocations: 0.6571 GB / 3.347 GB, free: 110.3 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.004e-06/7.271, allocations: 3.281 kB / 3.347 GB, free: 110.3 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001507/7.271, allocations: 29.5 kB / 3.347 GB, free: 110.3 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.004189/7.276, allocations: 1.325 MB / 3.348 GB, free: 109.9 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.327e-05/7.276, allocations: 9.531 kB / 3.348 GB, free: 109.9 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001919/7.278, allocations: 250.6 kB / 3.348 GB, free: 109.9 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003426/7.281, allocations: 1.104 MB / 3.349 GB, free: 109.6 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001008/7.281, allocations: 28.84 kB / 3.349 GB, free: 109.6 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003247/7.282, allocations: 57.03 kB / 3.35 GB, free: 109.6 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001924/7.284, allocations: 0.7552 MB / 3.35 GB, free: 109.6 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00155/7.285, allocations: 0.9769 MB / 3.351 GB, free: 109.4 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.603e-05/7.285, allocations: 7.625 kB / 3.351 GB, free: 109.4 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.43e-05/7.285, allocations: 0 / 3.351 GB, free: 109.4 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.858e-05/7.285, allocations: 36.69 kB / 3.351 GB, free: 109.4 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.00486/7.29, allocations: 5.498 MB / 3.357 GB, free: 105.8 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006543/7.291, allocations: 0.5081 MB / 3.357 GB, free: 105.7 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003234/7.291, allocations: 289.9 kB / 3.357 GB, free: 105.7 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004601/7.292, allocations: 307.2 kB / 3.358 GB, free: 105.4 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.413e-05/7.292, allocations: 38.44 kB / 3.358 GB, free: 105.4 MB / 0.698 GB Notification: Performance of pre-optimization done (n=49): time 1.654e-06/7.292, allocations: 0 / 3.358 GB, free: 105.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=49): time 0.001251/7.293, allocations: 0.5732 MB / 3.358 GB, free: 105.3 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.554e-05/7.293, allocations: 58.56 kB / 3.358 GB, free: 105.3 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006136/7.294, allocations: 0.5268 MB / 3.359 GB, free: 105.1 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.48e-05/7.294, allocations: 25.7 kB / 3.359 GB, free: 105.1 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003567/7.294, allocations: 0.5034 MB / 3.359 GB, free: 104.9 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001375/7.294, allocations: 179 kB / 3.36 GB, free: 104.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.778e-05/7.294, allocations: 0 / 3.36 GB, free: 104.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001197/7.294, allocations: 380.7 kB / 3.36 GB, free: 104.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002843/7.295, allocations: 220.4 kB / 3.36 GB, free: 104.5 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004123/7.295, allocations: 0.5511 MB / 3.361 GB, free: 104.1 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004752/7.295, allocations: 362.5 kB / 3.361 GB, free: 104.1 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/7.295, allocations: 3.688 kB / 3.361 GB, free: 104.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001015/7.297, allocations: 0.7653 MB / 3.362 GB, free: 104 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.834e-05/7.297, allocations: 7.312 kB / 3.362 GB, free: 104 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/7.297, allocations: 11.27 kB / 3.362 GB, free: 104 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.439e-05/7.297, allocations: 19.34 kB / 3.362 GB, free: 104 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005263/7.297, allocations: 156.5 kB / 3.362 GB, free: 104 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.457e-05/7.297, allocations: 14.8 kB / 3.362 GB, free: 104 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008811/7.298, allocations: 108.6 kB / 3.362 GB, free: 104 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.365e-05/7.298, allocations: 38.05 kB / 3.362 GB, free: 104 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.0001205/7.298, allocations: 131.6 kB / 3.362 GB, free: 103.9 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/7.298, allocations: 75.94 kB / 3.362 GB, free: 103.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008872/7.299, allocations: 0.5792 MB / 3.363 GB, free: 103.8 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/7.299, allocations: 10.8 kB / 3.363 GB, free: 103.8 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/7.299, allocations: 0 / 3.363 GB, free: 103.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006144/7.3, allocations: 0.5046 MB / 3.363 GB, free: 103.7 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002357/7.302, allocations: 1.528 MB / 3.365 GB, free: 103.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/7.302, allocations: 3.625 kB / 3.365 GB, free: 103.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004978/7.303, allocations: 113.9 kB / 3.365 GB, free: 103.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.344e-06/7.303, allocations: 3.594 kB / 3.365 GB, free: 103.4 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.536e-05/7.303, allocations: 11.16 kB / 3.365 GB, free: 103.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-06/7.303, allocations: 7.797 kB / 3.365 GB, free: 103.4 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/7.303, allocations: 0 / 3.365 GB, free: 103.4 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001154/7.304, allocations: 1.092 MB / 3.366 GB, free: 103 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002866/7.304, allocations: 215.6 kB / 3.366 GB, free: 102.9 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.775e-05/7.304, allocations: 7.594 kB / 3.366 GB, free: 102.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005499/7.305, allocations: 61.06 kB / 3.366 GB, free: 102.9 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.13e-05/7.305, allocations: 35.81 kB / 3.366 GB, free: 102.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.299e-05/7.305, allocations: 19.45 kB / 3.366 GB, free: 102.9 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003881/7.305, allocations: 393.9 kB / 3.367 GB, free: 102.8 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/7.305, allocations: 0 / 3.367 GB, free: 102.8 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001244/7.307, allocations: 417.8 kB / 3.367 GB, free: 102.8 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.002657/7.309, allocations: 2.127 MB / 3.369 GB, free: 102.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0008935/7.31, allocations: 0.5492 MB / 3.37 GB, free: 102.2 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/7.31, allocations: 4.5 kB / 3.37 GB, free: 102.2 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002811/7.311, allocations: 252.2 kB / 3.37 GB, free: 102.2 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001711/7.312, allocations: 362.6 kB / 3.37 GB, free: 102.2 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00233/7.315, allocations: 1.484 MB / 3.372 GB, free: 101.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007461/7.315, allocations: 1.14 MB / 3.373 GB, free: 101.1 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0008743/7.316, allocations: 257 kB / 3.373 GB, free: 101.1 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001813/7.317, allocations: 68.12 kB / 3.373 GB, free: 101 MB / 0.698 GB Notification: Performance of SimCode: time 4.6e-07/7.317, allocations: 4 kB / 3.373 GB, free: 101 MB / 0.698 GB Notification: Performance of Templates: time 0.03222/7.349, allocations: 23.16 MB / 3.396 GB, free: 100.6 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)