Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.577/1.577, allocations: 285.6 MB / 293.1 MB, free: 10.27 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.001027/0.001027, allocations: 184.8 kB / 361.4 MB, free: 6.855 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.37/1.37, allocations: 205.3 MB / 0.62 GB, free: 11.63 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.0008501/0.0008499, allocations: 93.53 kB / 0.733 GB, free: 44.15 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.244e-05/2.238e-05, allocations: 8 kB / 0.8518 GB, free: 2.617 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6412/0.6412, allocations: 115.3 MB / 0.9644 GB, free: 78.73 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.05/5.691, allocations: 2.127 GB / 3.092 GB, free: 31.77 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003089/5.692, allocations: 88.52 kB / 3.092 GB, free: 31.68 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.612/8.304, allocations: 0.6484 GB / 3.74 GB, free: 124.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.003e-06/8.304, allocations: 0 / 3.74 GB, free: 124.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.000127/8.304, allocations: 34.42 kB / 3.74 GB, free: 124.9 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.003604/8.308, allocations: 1.333 MB / 3.741 GB, free: 123.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/8.308, allocations: 8.031 kB / 3.741 GB, free: 123.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001755/8.309, allocations: 246.4 kB / 3.742 GB, free: 123.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002939/8.312, allocations: 1.109 MB / 3.743 GB, free: 122.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.737e-05/8.312, allocations: 32 kB / 3.743 GB, free: 122.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002392/8.313, allocations: 59.91 kB / 3.743 GB, free: 122.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001514/8.314, allocations: 0.7536 MB / 3.744 GB, free: 121.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001679/8.316, allocations: 0.9783 MB / 3.745 GB, free: 120.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.996e-05/8.316, allocations: 3.938 kB / 3.745 GB, free: 120.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.508e-05/8.316, allocations: 4 kB / 3.745 GB, free: 120.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.096e-05/8.316, allocations: 33.98 kB / 3.745 GB, free: 120.2 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.005549/8.322, allocations: 5.493 MB / 3.75 GB, free: 114.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006976/8.322, allocations: 0.5154 MB / 3.75 GB, free: 113.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003574/8.323, allocations: 286.6 kB / 3.751 GB, free: 113.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005405/8.323, allocations: 307.7 kB / 3.751 GB, free: 113.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.501e-05/8.323, allocations: 42.94 kB / 3.751 GB, free: 113.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=49): time 2.925e-06/8.323, allocations: 0 / 3.751 GB, free: 113.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=49): time 0.00159/8.325, allocations: 0.5771 MB / 3.752 GB, free: 112.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.076e-05/8.325, allocations: 55.84 kB / 3.752 GB, free: 112.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008892/8.326, allocations: 0.5115 MB / 3.752 GB, free: 111.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.605e-05/8.326, allocations: 25.7 kB / 3.752 GB, free: 111.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000436/8.326, allocations: 0.5063 MB / 3.753 GB, free: 111.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001988/8.327, allocations: 169.5 kB / 3.753 GB, free: 111.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.872e-05/8.327, allocations: 0 / 3.753 GB, free: 111.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001532/8.327, allocations: 382.8 kB / 3.753 GB, free: 110.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003479/8.327, allocations: 225.5 kB / 3.753 GB, free: 110.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005194/8.328, allocations: 0.5499 MB / 3.754 GB, free: 109.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006257/8.328, allocations: 356.5 kB / 3.754 GB, free: 109.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.436e-06/8.328, allocations: 0 / 3.754 GB, free: 109.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001319/8.33, allocations: 0.7726 MB / 3.755 GB, free: 108.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.731e-05/8.33, allocations: 11.95 kB / 3.755 GB, free: 108.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.687e-05/8.33, allocations: 8 kB / 3.755 GB, free: 108.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.838e-05/8.33, allocations: 12 kB / 3.755 GB, free: 108.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005987/8.33, allocations: 155.7 kB / 3.755 GB, free: 108.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.975e-05/8.331, allocations: 15.94 kB / 3.755 GB, free: 108.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001092/8.332, allocations: 107.5 kB / 3.755 GB, free: 108.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.095e-05/8.332, allocations: 36 kB / 3.755 GB, free: 108.4 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.0001567/8.332, allocations: 128.7 kB / 3.756 GB, free: 108.3 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009704/8.333, allocations: 0.5459 MB / 3.756 GB, free: 107.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001564/8.333, allocations: 79.02 kB / 3.756 GB, free: 107.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001011/8.334, allocations: 0.5778 MB / 3.757 GB, free: 107.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/8.334, allocations: 10.84 kB / 3.757 GB, free: 107.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/8.334, allocations: 4 kB / 3.757 GB, free: 107 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006665/8.335, allocations: 0.5016 MB / 3.757 GB, free: 106.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002535/8.337, allocations: 1.524 MB / 3.759 GB, free: 104.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/8.337, allocations: 0 / 3.759 GB, free: 104.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005171/8.338, allocations: 115.8 kB / 3.759 GB, free: 104.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.178e-05/8.338, allocations: 8.219 kB / 3.759 GB, free: 104.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.908e-05/8.338, allocations: 11.98 kB / 3.759 GB, free: 104.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.72e-06/8.338, allocations: 4 kB / 3.759 GB, free: 104.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/8.338, allocations: 0 / 3.759 GB, free: 104.8 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00124/8.339, allocations: 1.091 MB / 3.76 GB, free: 103.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004018/8.34, allocations: 220 kB / 3.76 GB, free: 103.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00014/8.34, allocations: 4 kB / 3.76 GB, free: 103.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000658/8.34, allocations: 55.84 kB / 3.76 GB, free: 103.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.461e-05/8.34, allocations: 35.86 kB / 3.76 GB, free: 103.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.71e-05/8.341, allocations: 23.98 kB / 3.76 GB, free: 103.3 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0004542/8.341, allocations: 395.1 kB / 3.761 GB, free: 102.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.5e-07/8.341, allocations: 0 / 3.761 GB, free: 102.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001508/8.342, allocations: 419.1 kB / 3.761 GB, free: 102.5 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.004414/8.347, allocations: 4.15 MB / 3.765 GB, free: 98.19 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0009325/8.348, allocations: 0.5488 MB / 3.766 GB, free: 97.65 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/8.348, allocations: 0 / 3.766 GB, free: 97.65 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002965/8.348, allocations: 264.2 kB / 3.766 GB, free: 97.39 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001877/8.35, allocations: 358.7 kB / 3.766 GB, free: 97.05 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003678/8.354, allocations: 1.719 MB / 3.768 GB, free: 95.27 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006242/8.354, allocations: 1.149 MB / 3.769 GB, free: 94.09 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0009014/8.355, allocations: 254.5 kB / 3.769 GB, free: 93.84 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004633/8.356, allocations: 359.3 kB / 3.77 GB, free: 93.49 MB / 0.948 GB Notification: Performance of SimCode: time 1.052e-06/8.356, allocations: 0 / 3.77 GB, free: 93.49 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05852/8.414, allocations: 34.41 MB / 3.803 GB, free: 59.24 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001543/8.415, allocations: 172.5 kB / 3.803 GB, free: 59.05 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.156/11.57, allocations: 0 / 3.803 GB, free: 59.05 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_TraceSubstances_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_TraceSubstances.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1)