Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.695/2.695, allocations: 287.3 MB / 302.3 MB, free: 8.301 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.001593/0.001593, allocations: 169.1 kB / 370.8 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.133/2.133, allocations: 205.4 MB / 0.6295 GB, free: 10.63 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001101/0.001101, allocations: 101.5 kB / 0.7428 GB, free: 6.629 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005077/0.0005078, allocations: 12 kB / 0.8657 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2433/0.2439, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.172/7.416, allocations: 2.128 GB / 3.106 GB, free: 142 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003784/7.417, allocations: 94.7 kB / 3.106 GB, free: 141.9 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.697/11.11, allocations: 0.6566 GB / 3.763 GB, free: 201.5 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.895e-06/11.11, allocations: 0 / 3.763 GB, free: 201.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001074/11.11, allocations: 29.19 kB / 3.763 GB, free: 201.5 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.00536/11.12, allocations: 1.478 MB / 3.764 GB, free: 200.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.45e-05/11.12, allocations: 10.59 kB / 3.764 GB, free: 200.7 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005653/11.12, allocations: 153.7 kB / 3.764 GB, free: 200.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002136/11.12, allocations: 245.8 kB / 3.765 GB, free: 200.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004749/11.13, allocations: 1.104 MB / 3.766 GB, free: 200 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.964e-05/11.13, allocations: 75.77 kB / 3.766 GB, free: 200 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003292/11.13, allocations: 98.02 kB / 3.766 GB, free: 199.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002843/11.13, allocations: 1.115 MB / 3.767 GB, free: 199.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.63e-05/11.13, allocations: 3.938 kB / 3.767 GB, free: 199.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001568/11.13, allocations: 38.56 kB / 3.767 GB, free: 199.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.722e-05/11.13, allocations: 41.03 kB / 3.767 GB, free: 199.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002476/11.13, allocations: 0.8383 MB / 3.768 GB, free: 199 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.0097/11.14, allocations: 5.691 MB / 3.773 GB, free: 194.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001268/11.14, allocations: 0.5365 MB / 3.774 GB, free: 194.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007609/11.14, allocations: 306.9 kB / 3.774 GB, free: 194 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.313e-05/11.14, allocations: 42.45 kB / 3.774 GB, free: 194 MB / 0.948 GB Notification: Performance of pre-optimization done (n=49): time 3.667e-06/11.14, allocations: 0 / 3.774 GB, free: 194 MB / 0.948 GB Notification: Performance of matching and sorting (n=49): time 0.002513/11.15, allocations: 0.7843 MB / 3.775 GB, free: 193.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.112e-05/11.15, allocations: 58.86 kB / 3.775 GB, free: 193.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001376/11.15, allocations: 0.6485 MB / 3.776 GB, free: 193.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002193/11.15, allocations: 37.55 kB / 3.776 GB, free: 193.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00047/11.15, allocations: 0.5072 MB / 3.776 GB, free: 192.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003219/11.15, allocations: 177.2 kB / 3.776 GB, free: 192.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.788e-05/11.15, allocations: 15.22 kB / 3.776 GB, free: 192.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001099/11.15, allocations: 331.4 kB / 3.777 GB, free: 192.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006823/11.15, allocations: 241.6 kB / 3.777 GB, free: 192.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009165/11.15, allocations: 0.5766 MB / 3.777 GB, free: 191.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008613/11.15, allocations: 350.4 kB / 3.778 GB, free: 191.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.919e-06/11.15, allocations: 6.625 kB / 3.778 GB, free: 191.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002223/11.16, allocations: 0.8348 MB / 3.779 GB, free: 191.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.318e-05/11.16, allocations: 7.562 kB / 3.779 GB, free: 191.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.74e-05/11.16, allocations: 6.938 kB / 3.779 GB, free: 191.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.802e-05/11.16, allocations: 17.55 kB / 3.779 GB, free: 191.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001108/11.16, allocations: 161.4 kB / 3.779 GB, free: 191.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.426e-05/11.16, allocations: 15.12 kB / 3.779 GB, free: 191.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00175/11.16, allocations: 134.1 kB / 3.779 GB, free: 191 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001498/11.16, allocations: 37.73 kB / 3.779 GB, free: 191 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.0009349/11.16, allocations: 328.2 kB / 3.779 GB, free: 190.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003092/11.16, allocations: 85.09 kB / 3.779 GB, free: 190.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001584/11.16, allocations: 0.6055 MB / 3.78 GB, free: 190.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-05/11.16, allocations: 10.05 kB / 3.78 GB, free: 190.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/11.16, allocations: 4 kB / 3.78 GB, free: 190.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001074/11.16, allocations: 0.5123 MB / 3.781 GB, free: 190.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004196/11.17, allocations: 1.649 MB / 3.782 GB, free: 189 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.035e-06/11.17, allocations: 0 / 3.782 GB, free: 189 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001038/11.17, allocations: 116.8 kB / 3.782 GB, free: 189 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.196e-05/11.17, allocations: 7.469 kB / 3.782 GB, free: 189 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.217e-05/11.17, allocations: 17.53 kB / 3.782 GB, free: 188.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.875e-06/11.17, allocations: 6.453 kB / 3.782 GB, free: 188.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.369e-06/11.17, allocations: 3.531 kB / 3.782 GB, free: 188.9 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002222/11.17, allocations: 1.122 MB / 3.783 GB, free: 188.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008234/11.17, allocations: 225.3 kB / 3.784 GB, free: 188 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001812/11.17, allocations: 15.66 kB / 3.784 GB, free: 188 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001065/11.17, allocations: 66.5 kB / 3.784 GB, free: 188 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/11.17, allocations: 36.23 kB / 3.784 GB, free: 187.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.408e-05/11.17, allocations: 19.45 kB / 3.784 GB, free: 187.9 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0009871/11.17, allocations: 0.5033 MB / 3.784 GB, free: 187.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.71e-07/11.17, allocations: 0 / 3.784 GB, free: 187.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002461/11.18, allocations: 486.3 kB / 3.785 GB, free: 187.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 () * 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.006175/11.18, allocations: 3.933 MB / 3.788 GB, free: 185 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001739/11.18, allocations: 0.5938 MB / 3.789 GB, free: 184.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.104e-06/11.18, allocations: 0 / 3.789 GB, free: 184.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005681/11.18, allocations: 270.4 kB / 3.789 GB, free: 184.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003692/11.19, allocations: 435.2 kB / 3.79 GB, free: 184.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01309/11.2, allocations: 10.85 MB / 3.8 GB, free: 175.2 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007975/11.2, allocations: 1.141 MB / 3.801 GB, free: 174 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001606/11.2, allocations: 263 kB / 3.802 GB, free: 173.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007189/11.2, allocations: 363.3 kB / 3.802 GB, free: 173.4 MB / 0.948 GB Notification: Performance of SimCode: time 2.745e-06/11.2, allocations: 0 / 3.802 GB, free: 173.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1432/11.35, allocations: 51.35 MB / 3.852 GB, free: 122.7 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003819/11.35, allocations: 210.9 kB / 3.852 GB, free: 122.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.802/16.15, allocations: 0 / 3.852 GB, free: 122.4 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_TraceSubstances_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_TraceSubstances.fmu > Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1)