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.704/1.704, allocations: 289.7 MB / 302.2 MB, free: 2.18 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.001116/0.001116, allocations: 181 kB / 371.6 MB, free: 3.355 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.69/1.69, allocations: 205.2 MB / 0.6309 GB, free: 11.76 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.0008553/0.0008555, allocations: 87.08 kB / 0.745 GB, free: 54.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.569e-05/4.584e-05, allocations: 4 kB / 0.8663 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2885/0.2886, allocations: 116.3 MB / 0.9799 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.605/6.894, allocations: 2.129 GB / 3.109 GB, free: 111.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003513/6.894, allocations: 88.61 kB / 3.109 GB, free: 111.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.878/9.773, allocations: 0.6559 GB / 3.765 GB, free: 155 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.373e-06/9.773, allocations: 0 / 3.765 GB, free: 155 MB / 0.948 GB Notification: Performance of Transformations before backend: time 7.764e-05/9.773, allocations: 26.75 kB / 3.765 GB, free: 155 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.002852/9.776, allocations: 1.34 MB / 3.766 GB, free: 154.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/9.776, allocations: 6.344 kB / 3.766 GB, free: 154.1 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001725/9.776, allocations: 143 kB / 3.766 GB, free: 154 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001298/9.777, allocations: 253.8 kB / 3.766 GB, free: 153.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002334/9.78, allocations: 1.097 MB / 3.767 GB, free: 153.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.152e-05/9.78, allocations: 69.41 kB / 3.768 GB, free: 153.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001434/9.78, allocations: 107.5 kB / 3.768 GB, free: 153.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001636/9.781, allocations: 1.106 MB / 3.769 GB, free: 152.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.821e-05/9.781, allocations: 3.938 kB / 3.769 GB, free: 152.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.487e-05/9.782, allocations: 42.47 kB / 3.769 GB, free: 152.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.076e-05/9.782, allocations: 35.22 kB / 3.769 GB, free: 152.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001256/9.783, allocations: 0.8302 MB / 3.77 GB, free: 152.4 MB / 0.948 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.005155/9.788, allocations: 5.692 MB / 3.775 GB, free: 147.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007421/9.789, allocations: 0.5281 MB / 3.776 GB, free: 147.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003865/9.789, allocations: 303.9 kB / 3.776 GB, free: 147.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005198/9.79, allocations: 313.8 kB / 3.776 GB, free: 147.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.554e-05/9.79, allocations: 42.67 kB / 3.776 GB, free: 147.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=49): time 2.605e-06/9.79, allocations: 0 / 3.776 GB, free: 147.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=49): time 0.001114/9.791, allocations: 0.5738 MB / 3.777 GB, free: 147 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.024e-05/9.791, allocations: 55.78 kB / 3.777 GB, free: 146.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007317/9.792, allocations: 0.6415 MB / 3.778 GB, free: 146.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.116e-05/9.792, allocations: 41.45 kB / 3.778 GB, free: 146.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003095/9.792, allocations: 0.5034 MB / 3.778 GB, free: 146.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001435/9.792, allocations: 184.2 kB / 3.778 GB, free: 146.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.803e-05/9.792, allocations: 15.78 kB / 3.778 GB, free: 146.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.107e-05/9.792, allocations: 330.7 kB / 3.779 GB, free: 145.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003101/9.793, allocations: 237.2 kB / 3.779 GB, free: 145.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005346/9.793, allocations: 0.578 MB / 3.779 GB, free: 145.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000452/9.794, allocations: 336.8 kB / 3.78 GB, free: 145 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/9.794, allocations: 3.719 kB / 3.78 GB, free: 145 MB / 0.948 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001107/9.795, allocations: 0.8169 MB / 3.78 GB, free: 144.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.337e-05/9.795, allocations: 13.47 kB / 3.78 GB, free: 144.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.374e-05/9.795, allocations: 14.58 kB / 3.78 GB, free: 144.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.51e-05/9.795, allocations: 10.78 kB / 3.781 GB, free: 144.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005376/9.795, allocations: 156.4 kB / 3.781 GB, free: 144.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.734e-05/9.795, allocations: 15.25 kB / 3.781 GB, free: 144.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009633/9.796, allocations: 137.4 kB / 3.781 GB, free: 144.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.862e-05/9.796, allocations: 33.56 kB / 3.781 GB, free: 144.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 () * 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.0001376/9.797, allocations: 150.8 kB / 3.781 GB, free: 144.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000113/9.797, allocations: 89.03 kB / 3.781 GB, free: 144.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000941/9.798, allocations: 0.5964 MB / 3.782 GB, free: 144.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.436e-06/9.798, allocations: 11.23 kB / 3.782 GB, free: 144.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/9.798, allocations: 0 / 3.782 GB, free: 144.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006149/9.798, allocations: 0.5053 MB / 3.782 GB, free: 143.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002293/9.801, allocations: 1.643 MB / 3.784 GB, free: 143.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/9.801, allocations: 4.031 kB / 3.784 GB, free: 143.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004908/9.801, allocations: 114.9 kB / 3.784 GB, free: 143.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.785e-06/9.801, allocations: 3.938 kB / 3.784 GB, free: 143.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.731e-05/9.801, allocations: 7.938 kB / 3.784 GB, free: 143.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.192e-06/9.801, allocations: 7.609 kB / 3.784 GB, free: 143.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/9.801, allocations: 15.59 kB / 3.784 GB, free: 143.1 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0012/9.802, allocations: 1.112 MB / 3.785 GB, free: 142.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003318/9.803, allocations: 228.2 kB / 3.785 GB, free: 142.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.475e-05/9.803, allocations: 8.781 kB / 3.785 GB, free: 142.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005572/9.803, allocations: 61.64 kB / 3.785 GB, free: 142.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.837e-05/9.804, allocations: 42.92 kB / 3.785 GB, free: 142.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.238e-05/9.804, allocations: 19.38 kB / 3.785 GB, free: 142.2 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0005527/9.804, allocations: 0.4918 MB / 3.786 GB, free: 142 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.8e-07/9.804, allocations: 0 / 3.786 GB, free: 142 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001632/9.806, allocations: 484.9 kB / 3.786 GB, free: 141.9 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 () * 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.004233/9.81, allocations: 3.931 MB / 3.79 GB, free: 139.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0009189/9.811, allocations: 0.5811 MB / 3.791 GB, free: 139.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.503e-06/9.811, allocations: 7.625 kB / 3.791 GB, free: 139.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003124/9.811, allocations: 262.3 kB / 3.791 GB, free: 139 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001956/9.813, allocations: 430.4 kB / 3.791 GB, free: 138.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003168/9.816, allocations: 1.794 MB / 3.793 GB, free: 138.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005816/9.817, allocations: 1.144 MB / 3.794 GB, free: 137.3 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0008607/9.818, allocations: 265.1 kB / 3.794 GB, free: 137.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004794/9.818, allocations: 362.5 kB / 3.795 GB, free: 137 MB / 0.948 GB Notification: Performance of SimCode: time 8.31e-07/9.818, allocations: 0 / 3.795 GB, free: 137 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08932/9.908, allocations: 56.2 MB / 3.85 GB, free: 86.46 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002059/9.908, allocations: 196.9 kB / 3.85 GB, free: 86.23 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.868/13.78, allocations: 0 / 3.85 GB, free: 86.23 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)