Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.515/1.515, allocations: 251.9 MB / 266.8 MB, free: 11.01 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001287/0.001287, allocations: 187.4 kB / 326.5 MB, free: 2.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.444/2.444, allocations: 205.4 MB / 0.5775 GB, free: 20.29 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001118/0.001118, allocations: 94.28 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004306/0.0004308, allocations: 11.09 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2889/0.2893, allocations: 106.3 MB / 0.9002 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.296/6.585, allocations: 2.246 GB / 3.146 GB, free: 329.8 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000299/6.585, allocations: 91.02 kB / 3.146 GB, free: 329.8 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 1.844/8.429, allocations: 0.638 GB / 3.784 GB, free: 26.18 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.956e-06/8.43, allocations: 0 / 3.784 GB, free: 26.18 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001596/8.43, allocations: 27.94 kB / 3.784 GB, free: 26.16 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.005139/8.435, allocations: 1.465 MB / 3.786 GB, free: 24.64 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.074e-05/8.435, allocations: 8.031 kB / 3.786 GB, free: 24.63 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005972/8.436, allocations: 147.6 kB / 3.786 GB, free: 24.48 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001913/8.437, allocations: 250.4 kB / 3.786 GB, free: 24.23 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003641/8.441, allocations: 1.121 MB / 3.787 GB, free: 23.07 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.357e-05/8.441, allocations: 70 kB / 3.787 GB, free: 23 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003206/8.442, allocations: 99.98 kB / 3.787 GB, free: 22.9 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002231/8.444, allocations: 1.119 MB / 3.788 GB, free: 21.71 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.944e-05/8.444, allocations: 8 kB / 3.788 GB, free: 21.7 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001216/8.444, allocations: 40 kB / 3.789 GB, free: 21.66 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.105e-05/8.444, allocations: 41.89 kB / 3.789 GB, free: 21.62 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001502/8.446, allocations: 0.8586 MB / 3.789 GB, free: 20.77 MB / 0.8855 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.006069/8.452, allocations: 5.679 MB / 3.795 GB, free: 14.64 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006948/8.452, allocations: 0.5361 MB / 3.795 GB, free: 14.09 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005403/8.453, allocations: 315.8 kB / 3.796 GB, free: 13.73 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.224e-05/8.453, allocations: 39 kB / 3.796 GB, free: 13.68 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=49): time 3.587e-06/8.453, allocations: 0 / 3.796 GB, free: 13.68 MB / 0.8855 GB Notification: Performance of matching and sorting (n=49): time 0.001417/8.454, allocations: 0.7714 MB / 3.797 GB, free: 12.91 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.702e-05/8.454, allocations: 59.8 kB / 3.797 GB, free: 12.84 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007265/8.455, allocations: 0.6485 MB / 3.797 GB, free: 12.18 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 5.814e-05/8.455, allocations: 37.7 kB / 3.797 GB, free: 12.14 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002638/8.456, allocations: 0.4987 MB / 3.798 GB, free: 11.63 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001339/8.456, allocations: 181.5 kB / 3.798 GB, free: 11.45 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.668e-05/8.456, allocations: 8 kB / 3.798 GB, free: 11.44 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.000128/8.456, allocations: 394.8 kB / 3.798 GB, free: 11.05 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002989/8.456, allocations: 237.9 kB / 3.799 GB, free: 10.81 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000473/8.457, allocations: 0.5511 MB / 3.799 GB, free: 10.11 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004031/8.457, allocations: 346.9 kB / 3.799 GB, free: 9.777 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/8.457, allocations: 0 / 3.799 GB, free: 9.777 MB / 0.8855 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001095/8.458, allocations: 0.8307 MB / 3.8 GB, free: 8.938 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.615e-05/8.458, allocations: 8 kB / 3.8 GB, free: 8.93 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.499e-05/8.458, allocations: 8 kB / 3.8 GB, free: 8.922 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.501e-05/8.458, allocations: 12 kB / 3.8 GB, free: 8.91 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005586/8.459, allocations: 155.8 kB / 3.8 GB, free: 8.758 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.914e-05/8.459, allocations: 19.92 kB / 3.8 GB, free: 8.738 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009842/8.46, allocations: 139.5 kB / 3.801 GB, free: 8.602 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.756e-05/8.46, allocations: 32 kB / 3.801 GB, free: 8.57 MB / 0.8855 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.0005744/8.46, allocations: 333.5 kB / 3.801 GB, free: 8.234 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001369/8.461, allocations: 79.06 kB / 3.801 GB, free: 8.156 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008954/8.462, allocations: 0.61 MB / 3.802 GB, free: 7.539 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/8.462, allocations: 4 kB / 3.802 GB, free: 7.535 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/8.462, allocations: 0 / 3.802 GB, free: 7.535 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000577/8.462, allocations: 0.5132 MB / 3.802 GB, free: 7.008 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002536/8.465, allocations: 1.637 MB / 3.804 GB, free: 5.293 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/8.465, allocations: 4 kB / 3.804 GB, free: 5.289 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005034/8.465, allocations: 111.9 kB / 3.804 GB, free: 5.18 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.081e-05/8.465, allocations: 11.95 kB / 3.804 GB, free: 5.168 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.81e-05/8.465, allocations: 19.98 kB / 3.804 GB, free: 5.148 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/8.465, allocations: 0 / 3.804 GB, free: 5.148 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/8.465, allocations: 8.219 kB / 3.804 GB, free: 5.141 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001123/8.466, allocations: 1.105 MB / 3.805 GB, free: 3.953 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004509/8.467, allocations: 231.9 kB / 3.805 GB, free: 3.707 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001008/8.467, allocations: 12 kB / 3.805 GB, free: 3.695 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006162/8.468, allocations: 71.84 kB / 3.805 GB, free: 3.625 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.516e-05/8.468, allocations: 39.67 kB / 3.805 GB, free: 3.586 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-05/8.468, allocations: 19.98 kB / 3.805 GB, free: 3.566 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0006041/8.468, allocations: 0.4951 MB / 3.806 GB, free: 3.074 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.41e-07/8.468, allocations: 0 / 3.806 GB, free: 3.074 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001789/8.47, allocations: 491.2 kB / 3.806 GB, free: 2.594 MB / 0.8855 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.5602/9.03, allocations: 3.926 MB / 3.81 GB, free: 165.8 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001347/9.032, allocations: 0.5887 MB / 3.811 GB, free: 165.8 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/9.032, allocations: 0 / 3.811 GB, free: 165.8 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0003268/9.032, allocations: 273.8 kB / 3.811 GB, free: 165.8 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002409/9.035, allocations: 425.7 kB / 3.811 GB, free: 165.7 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00966/9.044, allocations: 10.79 MB / 3.822 GB, free: 158.6 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009991/9.045, allocations: 1.138 MB / 3.823 GB, free: 157.9 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0013/9.047, allocations: 274.8 kB / 3.823 GB, free: 157.9 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005943/9.047, allocations: 351.6 kB / 3.824 GB, free: 157.9 MB / 0.8855 GB Notification: Performance of SimCode: time 1.052e-06/9.047, allocations: 0 / 3.824 GB, free: 157.9 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1045/9.152, allocations: 51.12 MB / 3.873 GB, free: 157.4 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002469/9.152, allocations: 232.1 kB / 3.874 GB, free: 157.1 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.198/13.35, allocations: 2.031 kB / 3.874 GB, free: 157.1 MB / 0.8855 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_TraceSubstances_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_TraceSubstances.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1)