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.387/1.387, allocations: 249.5 MB / 257 MB, free: 6.949 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001014/0.001014, allocations: 187.4 kB / 316.3 MB, free: 3.23 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.411/1.411, allocations: 205.3 MB / 0.5671 GB, free: 15.86 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.000799/0.0007991, allocations: 80.42 kB / 0.6714 GB, free: 4.992 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.751e-05/1.794e-05, allocations: 8 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1967/0.1967, allocations: 106.3 MB / 0.8853 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.138/5.335, allocations: 2.246 GB / 3.132 GB, free: 160.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002407/5.335, allocations: 93.72 kB / 3.132 GB, free: 160.1 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.236/7.571, allocations: 0.6298 GB / 3.761 GB, free: 174.6 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.913e-06/7.571, allocations: 3.969 kB / 3.761 GB, free: 174.6 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.099e-05/7.571, allocations: 33.44 kB / 3.761 GB, free: 174.6 MB / 0.8698 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.002814/7.574, allocations: 1.327 MB / 3.763 GB, free: 173.9 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.264e-05/7.574, allocations: 11.16 kB / 3.763 GB, free: 173.9 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00144/7.576, allocations: 246.9 kB / 3.763 GB, free: 173.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002469/7.578, allocations: 1.096 MB / 3.764 GB, free: 173.2 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.071e-05/7.578, allocations: 31.69 kB / 3.764 GB, free: 173.2 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000114/7.578, allocations: 57.06 kB / 3.764 GB, free: 173.2 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001262/7.58, allocations: 0.7603 MB / 3.765 GB, free: 173 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001333/7.581, allocations: 0.9824 MB / 3.766 GB, free: 172.5 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.537e-05/7.581, allocations: 0 / 3.766 GB, free: 172.5 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.403e-05/7.581, allocations: 6.969 kB / 3.766 GB, free: 172.5 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.761e-05/7.581, allocations: 38.28 kB / 3.766 GB, free: 172.5 MB / 0.8698 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.004918/7.586, allocations: 5.499 MB / 3.771 GB, free: 167.6 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006123/7.587, allocations: 0.4961 MB / 3.772 GB, free: 167.3 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003248/7.587, allocations: 285.3 kB / 3.772 GB, free: 167.2 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005017/7.588, allocations: 309.6 kB / 3.772 GB, free: 166.9 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.577e-05/7.588, allocations: 42.88 kB / 3.772 GB, free: 166.9 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=49): time 3.377e-06/7.588, allocations: 0 / 3.772 GB, free: 166.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=49): time 0.001168/7.589, allocations: 0.5753 MB / 3.773 GB, free: 166.6 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.436e-05/7.589, allocations: 62.38 kB / 3.773 GB, free: 166.5 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005463/7.589, allocations: 0.5139 MB / 3.773 GB, free: 166.2 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.905e-05/7.589, allocations: 29.52 kB / 3.774 GB, free: 166.2 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002462/7.59, allocations: 0.4944 MB / 3.774 GB, free: 165.7 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001252/7.59, allocations: 176.1 kB / 3.774 GB, free: 165.6 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.729e-05/7.59, allocations: 0 / 3.774 GB, free: 165.6 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001299/7.59, allocations: 387.4 kB / 3.775 GB, free: 165.2 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002805/7.59, allocations: 217.9 kB / 3.775 GB, free: 165.1 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004183/7.591, allocations: 0.5293 MB / 3.775 GB, free: 164.6 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004632/7.591, allocations: 356.9 kB / 3.776 GB, free: 164.4 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.153e-06/7.591, allocations: 7.828 kB / 3.776 GB, free: 164.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001018/7.592, allocations: 0.7525 MB / 3.776 GB, free: 164.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/7.592, allocations: 10.75 kB / 3.776 GB, free: 164.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/7.592, allocations: 10.38 kB / 3.776 GB, free: 164.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.533e-05/7.592, allocations: 13.03 kB / 3.776 GB, free: 164.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005256/7.593, allocations: 156.6 kB / 3.777 GB, free: 164 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.417e-05/7.593, allocations: 17.64 kB / 3.777 GB, free: 164 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008767/7.594, allocations: 109.8 kB / 3.777 GB, free: 164 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.261e-05/7.594, allocations: 39.23 kB / 3.777 GB, free: 164 MB / 0.8698 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.000141/7.594, allocations: 127.1 kB / 3.777 GB, free: 163.8 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007444/7.595, allocations: 0.5373 MB / 3.777 GB, free: 163.6 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.719e-05/7.595, allocations: 77 kB / 3.777 GB, free: 163.5 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008957/7.596, allocations: 0.5852 MB / 3.778 GB, free: 163.2 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.742e-06/7.596, allocations: 3.781 kB / 3.778 GB, free: 163.2 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/7.596, allocations: 3.75 kB / 3.778 GB, free: 163.2 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006227/7.596, allocations: 0.4915 MB / 3.778 GB, free: 162.9 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002296/7.599, allocations: 1.525 MB / 3.78 GB, free: 161.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.429e-06/7.599, allocations: 2.625 kB / 3.78 GB, free: 161.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005149/7.599, allocations: 114.4 kB / 3.78 GB, free: 161.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.041e-05/7.599, allocations: 7.812 kB / 3.78 GB, free: 161.9 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.438e-05/7.599, allocations: 3.938 kB / 3.78 GB, free: 161.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.661e-06/7.599, allocations: 3.406 kB / 3.78 GB, free: 161.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.992e-06/7.599, allocations: 3.812 kB / 3.78 GB, free: 161.9 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00128/7.601, allocations: 1.088 MB / 3.781 GB, free: 161.2 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004227/7.601, allocations: 219.9 kB / 3.781 GB, free: 161 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001234/7.601, allocations: 7.969 kB / 3.781 GB, free: 161 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007269/7.602, allocations: 53.72 kB / 3.781 GB, free: 161 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.738e-05/7.602, allocations: 36.69 kB / 3.781 GB, free: 160.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.063e-05/7.602, allocations: 21.7 kB / 3.781 GB, free: 160.9 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0005353/7.603, allocations: 393.6 kB / 3.782 GB, free: 160.7 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.7e-07/7.603, allocations: 3.688 kB / 3.782 GB, free: 160.7 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001501/7.604, allocations: 428 kB / 3.782 GB, free: 160.5 MB / 0.8698 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.004241/7.608, allocations: 4.133 MB / 3.786 GB, free: 158.1 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0008928/7.609, allocations: 0.5467 MB / 3.787 GB, free: 157.8 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.179e-06/7.609, allocations: 4 kB / 3.787 GB, free: 157.8 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002789/7.61, allocations: 249.9 kB / 3.787 GB, free: 157.6 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001824/7.611, allocations: 358.6 kB / 3.787 GB, free: 157.3 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003295/7.615, allocations: 1.73 MB / 3.789 GB, free: 155.5 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000545/7.615, allocations: 1.137 MB / 3.79 GB, free: 154.3 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0008467/7.616, allocations: 253.5 kB / 3.79 GB, free: 154.1 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004337/7.617, allocations: 351.3 kB / 3.791 GB, free: 153.8 MB / 0.8698 GB Notification: Performance of SimCode: time 6.81e-07/7.617, allocations: 0 / 3.791 GB, free: 153.8 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06572/7.682, allocations: 34.2 MB / 3.824 GB, free: 120.1 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001862/7.683, allocations: 172.6 kB / 3.824 GB, free: 119.9 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.885/10.57, allocations: 0 / 3.824 GB, free: 119.9 MB / 0.8698 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)