Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001219/0.001219, allocations: 92.78 kB / 15.7 MB, free: 472 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001157/0.001157, allocations: 175.2 kB / 16.58 MB, free: 5.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.191/1.191, allocations: 223.3 MB / 240.6 MB, free: 5.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6012/0.6012, allocations: 113.7 MB / 405.4 MB, free: 4.551 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002606/0.0002607, allocations: 8 kB / 493.1 MB, free: 8.543 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1203, allocations: 77.11 MB / 0.5569 GB, free: 11.64 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.TraceSubstances): time 0.3865/0.5069, allocations: 177.5 MB / 0.7303 GB, free: 9.254 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01324/0.5202, allocations: 13.28 MB / 0.7432 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007219/0.5209, allocations: 27.81 kB / 0.7433 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009857/0.5219, allocations: 353.7 kB / 0.7436 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002923/0.5249, allocations: 1.372 MB / 0.7449 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001922/0.5268, allocations: 0.6704 MB / 0.7456 GB, free: 9.523 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002774/0.5296, allocations: 3.045 MB / 0.7486 GB, free: 6.469 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009608/0.5306, allocations: 0.8119 MB / 0.7494 GB, free: 5.645 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001931/0.5325, allocations: 1.206 MB / 0.7505 GB, free: 4.434 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001072/0.5336, allocations: 0.8835 MB / 0.7514 GB, free: 3.547 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.819e-05/0.5337, allocations: 48 kB / 0.7514 GB, free: 3.5 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001219/0.5349, allocations: 0.5691 MB / 0.752 GB, free: 2.93 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003729/0.5353, allocations: 450.7 kB / 0.7524 GB, free: 2.488 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002096/0.5355, allocations: 253.1 kB / 0.7527 GB, free: 2.234 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001123/0.5367, allocations: 1.352 MB / 0.754 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.5367, allocations: 0 / 0.754 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.483e-06/0.5367, allocations: 4 kB / 0.754 GB, free: 0.875 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.162e-05/0.5367, allocations: 0 / 0.754 GB, free: 0.875 MB / 0.5606 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.001608/0.5383, allocations: 1.235 MB / 0.7552 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.5384, allocations: 8.031 kB / 0.7552 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001513/0.5385, allocations: 159.4 kB / 0.7554 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001139/0.5397, allocations: 254.3 kB / 0.7556 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001238/0.5409, allocations: 0.8199 MB / 0.7564 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.129e-05/0.541, allocations: 70 kB / 0.7565 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001149/0.5411, allocations: 96 kB / 0.7566 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001483/0.5426, allocations: 1.173 MB / 0.7577 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.229e-05/0.5426, allocations: 3.938 kB / 0.7577 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.465e-05/0.5427, allocations: 43.95 kB / 0.7577 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.781e-05/0.5427, allocations: 30 kB / 0.7578 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001206/0.5439, allocations: 0.8976 MB / 0.7587 GB, free: 11.93 MB / 0.5762 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.004476/0.5484, allocations: 5.747 MB / 0.7643 GB, free: 5.723 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000769/0.5492, allocations: 0.5741 MB / 0.7648 GB, free: 5.129 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000397/0.5496, allocations: 335.4 kB / 0.7651 GB, free: 4.797 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004828/0.5501, allocations: 319.7 kB / 0.7655 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.293e-05/0.5501, allocations: 35 kB / 0.7655 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=51): time 1.774e-06/0.5502, allocations: 0 / 0.7655 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of matching and sorting (n=51): time 0.001309/0.5515, allocations: 0.8221 MB / 0.7663 GB, free: 3.562 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.169e-05/0.5515, allocations: 93.66 kB / 0.7664 GB, free: 3.453 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007524/0.5523, allocations: 0.7508 MB / 0.7671 GB, free: 2.691 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.263e-05/0.5523, allocations: 37.7 kB / 0.7671 GB, free: 2.648 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002998/0.5526, allocations: 0.5066 MB / 0.7676 GB, free: 2.133 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001312/0.5528, allocations: 181.4 kB / 0.7678 GB, free: 1.953 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.041e-05/0.5528, allocations: 12 kB / 0.7678 GB, free: 1.941 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.909e-05/0.5529, allocations: 334 kB / 0.7681 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003413/0.5533, allocations: 253.8 kB / 0.7684 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005476/0.5538, allocations: 0.5731 MB / 0.7689 GB, free: 0.6562 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004526/0.5543, allocations: 364.6 kB / 0.7693 GB, free: 304 kB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.5543, allocations: 4 kB / 0.7693 GB, free: 300 kB / 0.5762 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.00112/0.5554, allocations: 0.8621 MB / 0.7701 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.5554, allocations: 8 kB / 0.7701 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.5555, allocations: 11.94 kB / 0.7702 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.062e-05/0.5555, allocations: 12 kB / 0.7702 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005057/0.556, allocations: 163.7 kB / 0.7703 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.529e-05/0.556, allocations: 15.94 kB / 0.7703 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007441/0.5568, allocations: 159.3 kB / 0.7705 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.273e-05/0.5568, allocations: 32 kB / 0.7705 GB, free: 15.02 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (89): * Single equations (assignments): 89 * 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.0003543/0.5572, allocations: 333.5 kB / 0.7708 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001205/0.5573, allocations: 86.97 kB / 0.7709 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008884/0.5582, allocations: 0.6344 MB / 0.7715 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.5582, allocations: 4 kB / 0.7715 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.5582, allocations: 3.828 kB / 0.7716 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006424/0.5589, allocations: 0.525 MB / 0.7721 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002193/0.5611, allocations: 1.777 MB / 0.7738 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.5611, allocations: 4 kB / 0.7738 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004738/0.5616, allocations: 111.9 kB / 0.7739 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.866e-06/0.5616, allocations: 12.2 kB / 0.7739 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.821e-05/0.5616, allocations: 16 kB / 0.7739 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.508e-06/0.5617, allocations: 4 kB / 0.7739 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/0.5617, allocations: 7.938 kB / 0.7739 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001255/0.5629, allocations: 1.037 MB / 0.775 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002731/0.5632, allocations: 231.9 kB / 0.7752 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.86e-05/0.5633, allocations: 19.94 kB / 0.7752 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004827/0.5638, allocations: 60.52 kB / 0.7753 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.256e-05/0.5639, allocations: 43.91 kB / 0.7753 GB, free: 9.969 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-05/0.5639, allocations: 19.98 kB / 0.7753 GB, free: 9.949 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005533/0.5645, allocations: 0.5068 MB / 0.7758 GB, free: 9.445 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5645, allocations: 0 / 0.7758 GB, free: 9.445 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000746/0.5652, allocations: 299.4 kB / 0.7761 GB, free: 9.152 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,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 (51): * Single equations (assignments): 51 * 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.001747/0.567, allocations: 1.707 MB / 0.7778 GB, free: 7.41 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0008472/0.5678, allocations: 0.6199 MB / 0.7784 GB, free: 6.793 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.5678, allocations: 0 / 0.7784 GB, free: 6.793 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003333/0.5682, allocations: 279.8 kB / 0.7786 GB, free: 6.52 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001718/0.5699, allocations: 442.3 kB / 0.7791 GB, free: 6.098 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007276/0.5772, allocations: 5.715 MB / 0.7846 GB, free: 120 kB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006512/0.5779, allocations: 1.122 MB / 0.7857 GB, free: 14.97 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0008743/0.5788, allocations: 275.3 kB / 0.786 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004456/0.5792, allocations: 375.3 kB / 0.7864 GB, free: 14.33 MB / 0.6075 GB Notification: Performance of SimCode: time 5.71e-07/0.5792, allocations: 0 / 0.7864 GB, free: 14.33 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03639/0.6156, allocations: 23.35 MB / 0.8092 GB, free: 7.352 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001494/0.6158, allocations: 215.2 kB / 0.8094 GB, free: 7.117 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.976/2.592, allocations: 0 / 0.8094 GB, free: 7.117 MB / 0.6231 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sensors_Examples_TraceSubstances_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_TraceSubstances.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) Environment - environmentSimulation: