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.8871/0.8871, allocations: 143.4 MB / 158.3 MB, free: 5.789 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.00114/0.00114, allocations: 183.5 kB / 191.5 MB, free: 5.758 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.501/1.501, allocations: 223.2 MB / 447.7 MB, free: 6.531 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.00101/0.00101, allocations: 92.33 kB / 0.5188 GB, free: 2.887 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001726/0.001726, allocations: 269.6 kB / 0.6005 GB, free: 48.99 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004378/0.0004378, allocations: 19.98 kB / 0.6929 GB, free: 2.312 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.43/0.4305, allocations: 82.78 MB / 0.7737 GB, free: 26.22 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.794/5.224, allocations: 1.933 GB / 2.707 GB, free: 89.38 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004487/5.225, allocations: 99.44 kB / 2.707 GB, free: 89.29 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.028/8.253, allocations: 0.6652 GB / 3.372 GB, free: 111.9 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.495e-06/8.253, allocations: 2.75 kB / 3.372 GB, free: 111.9 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.000108/8.253, allocations: 29.72 kB / 3.372 GB, free: 111.9 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.004918/8.258, allocations: 1.472 MB / 3.373 GB, free: 111.3 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.521e-05/8.258, allocations: 10.47 kB / 3.373 GB, free: 111.3 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002385/8.26, allocations: 246.8 kB / 3.374 GB, free: 111.3 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004229/8.265, allocations: 1.115 MB / 3.375 GB, free: 111 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001197/8.265, allocations: 68.16 kB / 3.375 GB, free: 111 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002721/8.265, allocations: 102.1 kB / 3.375 GB, free: 111 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002569/8.268, allocations: 1.117 MB / 3.376 GB, free: 110.8 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.89e-05/8.268, allocations: 3.656 kB / 3.376 GB, free: 110.8 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001304/8.268, allocations: 43.72 kB / 3.376 GB, free: 110.8 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.378e-05/8.268, allocations: 29.38 kB / 3.376 GB, free: 110.8 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002042/8.27, allocations: 0.8455 MB / 3.377 GB, free: 110.8 MB / 0.698 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.008211/8.278, allocations: 5.692 MB / 3.382 GB, free: 107.1 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001132/8.279, allocations: 0.5317 MB / 3.383 GB, free: 107.1 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007043/8.28, allocations: 308.7 kB / 3.383 GB, free: 106.8 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.863e-05/8.28, allocations: 47.72 kB / 3.383 GB, free: 106.7 MB / 0.698 GB Notification: Performance of pre-optimization done (n=49): time 3.617e-06/8.28, allocations: 0 / 3.383 GB, free: 106.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=49): time 0.00243/8.283, allocations: 0.7752 MB / 3.384 GB, free: 106.7 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.643e-05/8.283, allocations: 59.59 kB / 3.384 GB, free: 106.6 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001259/8.284, allocations: 0.6534 MB / 3.385 GB, free: 106.5 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.557e-05/8.284, allocations: 37.17 kB / 3.385 GB, free: 106.4 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004466/8.284, allocations: 0.5018 MB / 3.385 GB, free: 106.2 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002487/8.285, allocations: 177.2 kB / 3.385 GB, free: 106.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.707e-05/8.285, allocations: 14.06 kB / 3.385 GB, free: 106.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001029/8.285, allocations: 338.1 kB / 3.386 GB, free: 105.9 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005324/8.285, allocations: 242.5 kB / 3.386 GB, free: 105.9 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000816/8.286, allocations: 0.5739 MB / 3.387 GB, free: 105.4 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007578/8.287, allocations: 351.3 kB / 3.387 GB, free: 105.4 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.783e-06/8.287, allocations: 3.188 kB / 3.387 GB, free: 105.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001887/8.289, allocations: 0.8469 MB / 3.388 GB, free: 105.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.004e-05/8.289, allocations: 7.344 kB / 3.388 GB, free: 105.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.687e-05/8.289, allocations: 7.5 kB / 3.388 GB, free: 105.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.567e-05/8.289, allocations: 14.84 kB / 3.388 GB, free: 105.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008813/8.29, allocations: 154.7 kB / 3.388 GB, free: 105.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.435e-05/8.29, allocations: 13.59 kB / 3.388 GB, free: 105.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001584/8.292, allocations: 139.4 kB / 3.388 GB, free: 105.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.925e-05/8.292, allocations: 35.33 kB / 3.388 GB, free: 105.3 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 () * Number of clocked 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.0007835/8.293, allocations: 341.2 kB / 3.388 GB, free: 105.2 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000243/8.293, allocations: 84.7 kB / 3.389 GB, free: 105.2 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001475/8.294, allocations: 0.6048 MB / 3.389 GB, free: 105.1 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.027e-06/8.294, allocations: 8.766 kB / 3.389 GB, free: 105.1 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/8.294, allocations: 0 / 3.389 GB, free: 105.1 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009917/8.295, allocations: 0.5055 MB / 3.39 GB, free: 105 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00371/8.299, allocations: 1.651 MB / 3.391 GB, free: 104.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.714e-06/8.299, allocations: 2.281 kB / 3.391 GB, free: 104.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008505/8.3, allocations: 110.8 kB / 3.391 GB, free: 104.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-05/8.3, allocations: 5.781 kB / 3.391 GB, free: 104.7 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.565e-05/8.3, allocations: 13.06 kB / 3.391 GB, free: 104.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-05/8.3, allocations: 10.02 kB / 3.391 GB, free: 104.7 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/8.3, allocations: 2.594 kB / 3.391 GB, free: 104.7 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001969/8.302, allocations: 1.116 MB / 3.392 GB, free: 104.3 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006534/8.303, allocations: 222.8 kB / 3.393 GB, free: 104.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001526/8.303, allocations: 15.53 kB / 3.393 GB, free: 104.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009623/8.304, allocations: 70.62 kB / 3.393 GB, free: 104.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.467e-05/8.304, allocations: 36.77 kB / 3.393 GB, free: 104.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.047e-05/8.304, allocations: 19.28 kB / 3.393 GB, free: 104.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0009813/8.305, allocations: 0.5042 MB / 3.393 GB, free: 104.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.3e-07/8.305, allocations: 0 / 3.393 GB, free: 104.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002655/8.308, allocations: 485.8 kB / 3.394 GB, free: 104 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 () * Number of clocked 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.004114/8.312, allocations: 1.901 MB / 3.396 GB, free: 103.5 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001573/8.313, allocations: 0.595 MB / 3.396 GB, free: 103.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.543e-06/8.313, allocations: 0 / 3.396 GB, free: 103.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005284/8.314, allocations: 273.7 kB / 3.396 GB, free: 103.5 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003099/8.317, allocations: 423.6 kB / 3.397 GB, free: 103.5 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004453/8.322, allocations: 2.335 MB / 3.399 GB, free: 102.5 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000787/8.322, allocations: 1.136 MB / 3.4 GB, free: 101.8 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001506/8.324, allocations: 273.2 kB / 3.401 GB, free: 101.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00027/8.324, allocations: 73.72 kB / 3.401 GB, free: 101.7 MB / 0.698 GB Notification: Performance of SimCode: time 1.032e-06/8.324, allocations: 0 / 3.401 GB, free: 101.7 MB / 0.698 GB Notification: Performance of Templates: time 0.07976/8.404, allocations: 36.67 MB / 3.436 GB, free: 100.2 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)