Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sensors.Examples.TraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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) 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 Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.817/1.817, allocations: 292.6 MB / 307.5 MB, free: 5.172 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001278/0.001278, allocations: 181 kB / 377.1 MB, free: 1.52 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.878/1.878, allocations: 205.4 MB / 0.6366 GB, free: 8.617 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008679/0.0008679, allocations: 91.23 kB / 0.7509 GB, free: 63.13 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000384/0.0003841, allocations: 8 kB / 0.8749 GB, free: 11.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3015/0.3019, allocations: 116.3 MB / 0.9884 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.995/6.297, allocations: 2.129 GB / 3.117 GB, free: 89.52 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004579/6.297, allocations: 96.66 kB / 3.117 GB, free: 89.43 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.043/9.34, allocations: 0.6566 GB / 3.774 GB, free: 147.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.016e-06/9.34, allocations: 1.594 kB / 3.774 GB, free: 147.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001037/9.34, allocations: 30.72 kB / 3.774 GB, free: 147.1 MB / 0.948 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.003663/9.344, allocations: 1.477 MB / 3.775 GB, free: 146 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.642e-05/9.344, allocations: 8.938 kB / 3.775 GB, free: 146 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002024/9.344, allocations: 141.6 kB / 3.776 GB, free: 145.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001432/9.346, allocations: 245.6 kB / 3.776 GB, free: 145.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002765/9.348, allocations: 1.113 MB / 3.777 GB, free: 145 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.927e-05/9.348, allocations: 68.88 kB / 3.777 GB, free: 144.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001393/9.349, allocations: 99.31 kB / 3.777 GB, free: 144.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001717/9.35, allocations: 1.122 MB / 3.778 GB, free: 144.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.992e-05/9.35, allocations: 0 / 3.778 GB, free: 144.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.008e-05/9.35, allocations: 47.12 kB / 3.778 GB, free: 144.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.905e-05/9.35, allocations: 33.91 kB / 3.778 GB, free: 144.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00124/9.352, allocations: 0.8452 MB / 3.779 GB, free: 143.7 MB / 0.948 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.005207/9.357, allocations: 5.693 MB / 3.785 GB, free: 138.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006989/9.358, allocations: 0.5409 MB / 3.785 GB, free: 138.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005378/9.358, allocations: 311.4 kB / 3.785 GB, free: 137.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/9.358, allocations: 38.5 kB / 3.785 GB, free: 137.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=49): time 3.977e-06/9.358, allocations: 0 / 3.785 GB, free: 137.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=49): time 0.00142/9.36, allocations: 0.7719 MB / 3.786 GB, free: 137.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.61e-05/9.36, allocations: 62.75 kB / 3.786 GB, free: 137.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007641/9.36, allocations: 0.65 MB / 3.787 GB, free: 137 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.166e-05/9.361, allocations: 40.33 kB / 3.787 GB, free: 137 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003003/9.361, allocations: 0.5009 MB / 3.787 GB, free: 136.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001437/9.361, allocations: 179.1 kB / 3.788 GB, free: 136.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.961e-05/9.361, allocations: 15.94 kB / 3.788 GB, free: 136.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.959e-05/9.361, allocations: 341.2 kB / 3.788 GB, free: 136 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000314/9.361, allocations: 237 kB / 3.788 GB, free: 135.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005836/9.362, allocations: 0.5771 MB / 3.789 GB, free: 135.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004658/9.363, allocations: 358.2 kB / 3.789 GB, free: 135.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/9.363, allocations: 0 / 3.789 GB, free: 135.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001115/9.364, allocations: 0.8345 MB / 3.79 GB, free: 134.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.9e-05/9.364, allocations: 11.75 kB / 3.79 GB, free: 134.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.368e-05/9.364, allocations: 7.219 kB / 3.79 GB, free: 134.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.717e-05/9.364, allocations: 12.06 kB / 3.79 GB, free: 134.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005956/9.364, allocations: 151.2 kB / 3.79 GB, free: 134.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.828e-05/9.364, allocations: 19.73 kB / 3.79 GB, free: 134.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001001/9.365, allocations: 132.9 kB / 3.79 GB, free: 134.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.857e-05/9.365, allocations: 42.59 kB / 3.79 GB, free: 134.6 MB / 0.948 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.0004827/9.366, allocations: 327.8 kB / 3.791 GB, free: 134.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001133/9.366, allocations: 89.83 kB / 3.791 GB, free: 134.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009133/9.367, allocations: 0.6063 MB / 3.791 GB, free: 134 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.126e-06/9.367, allocations: 3.969 kB / 3.791 GB, free: 134 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/9.367, allocations: 0 / 3.791 GB, free: 134 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006355/9.368, allocations: 0.5108 MB / 3.792 GB, free: 133.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00251/9.37, allocations: 1.64 MB / 3.793 GB, free: 132.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/9.37, allocations: 0 / 3.793 GB, free: 132.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005219/9.371, allocations: 114.4 kB / 3.793 GB, free: 132.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.326e-06/9.371, allocations: 3.375 kB / 3.793 GB, free: 132.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.452e-05/9.371, allocations: 23.45 kB / 3.793 GB, free: 132.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.181e-06/9.371, allocations: 7.688 kB / 3.794 GB, free: 132.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/9.371, allocations: 0 / 3.794 GB, free: 132.5 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001229/9.372, allocations: 1.12 MB / 3.795 GB, free: 131.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004321/9.373, allocations: 232.3 kB / 3.795 GB, free: 131.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.867e-05/9.373, allocations: 15.59 kB / 3.795 GB, free: 131.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005795/9.373, allocations: 57.41 kB / 3.795 GB, free: 131.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.633e-05/9.373, allocations: 42.41 kB / 3.795 GB, free: 131.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.526e-05/9.373, allocations: 19.47 kB / 3.795 GB, free: 131.5 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0005709/9.374, allocations: 0.5038 MB / 3.795 GB, free: 131.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.4e-07/9.374, allocations: 0 / 3.795 GB, free: 131.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001725/9.376, allocations: 497.2 kB / 3.796 GB, free: 131 MB / 0.948 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.004299/9.38, allocations: 3.927 MB / 3.8 GB, free: 126.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0009531/9.381, allocations: 0.5961 MB / 3.8 GB, free: 126.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/9.381, allocations: 0 / 3.8 GB, free: 126.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002998/9.381, allocations: 271.6 kB / 3.801 GB, free: 126 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001933/9.383, allocations: 435.8 kB / 3.801 GB, free: 125.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008622/9.392, allocations: 10.86 MB / 3.812 GB, free: 114.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005529/9.392, allocations: 1.138 MB / 3.813 GB, free: 113.3 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0009644/9.393, allocations: 267.1 kB / 3.813 GB, free: 113 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004057/9.394, allocations: 359.3 kB / 3.813 GB, free: 112.7 MB / 0.948 GB Notification: Performance of SimCode: time 1.102e-06/9.394, allocations: 0 / 3.813 GB, free: 112.7 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09413/9.488, allocations: 51.35 MB / 3.863 GB, free: 61.56 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002142/9.488, allocations: 205.1 kB / 3.864 GB, free: 61.33 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.307/13.8, allocations: 0 / 3.864 GB, free: 61.33 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.TraceSubstances.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Sensors_Examples_TraceSubstances_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Sensors_Examples_TraceSubstances.fmu > Buildings_8_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1)