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.00131/0.00131, allocations: 105.8 kB / 16.4 MB, free: 6.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001381/0.001381, allocations: 189.2 kB / 17.34 MB, free: 5.738 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.365/1.365, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.817/0.817, allocations: 126.7 MB / 417.9 MB, free: 12.29 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 71.09 kB / 0.5736 GB, free: 27.12 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1414, allocations: 78.87 MB / 0.6506 GB, free: 3.559 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.TraceSubstances): time 0.564/0.7055, allocations: 195.1 MB / 0.8411 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02081/0.7263, allocations: 14.3 MB / 0.8551 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001597/0.728, allocations: 40.75 kB / 0.8551 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.00177/0.7297, allocations: 0.5155 MB / 0.8556 GB, free: 14.72 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.005172/0.735, allocations: 1.867 MB / 0.8575 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0025/0.7375, allocations: 0.8635 MB / 0.8583 GB, free: 12.63 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003424/0.7409, allocations: 2.572 MB / 0.8608 GB, free: 11.15 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001577/0.7425, allocations: 1.108 MB / 0.8619 GB, free: 10.51 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005082/0.7476, allocations: 1.805 MB / 0.8637 GB, free: 8.973 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001982/0.7496, allocations: 0.9007 MB / 0.8645 GB, free: 8.07 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002721/0.7499, allocations: 112 kB / 0.8646 GB, free: 7.961 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002514/0.7524, allocations: 1.08 MB / 0.8657 GB, free: 6.879 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0006198/0.7531, allocations: 0.4948 MB / 0.8662 GB, free: 6.383 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.000969/0.7541, allocations: 0.6494 MB / 0.8668 GB, free: 5.73 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003233/0.7573, allocations: 1.908 MB / 0.8687 GB, free: 3.816 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.7573, allocations: 0 / 0.8687 GB, free: 3.816 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.904e-06/0.7574, allocations: 0 / 0.8687 GB, free: 3.816 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 3.078e-05/0.7574, allocations: 0 / 0.8687 GB, free: 3.816 MB / 0.6231 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.002514/0.7599, allocations: 1.486 MB / 0.8701 GB, free: 2.273 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.76, allocations: 8.031 kB / 0.8701 GB, free: 2.266 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001861/0.7602, allocations: 147.6 kB / 0.8703 GB, free: 2.113 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001431/0.7616, allocations: 255 kB / 0.8705 GB, free: 1.863 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00144/0.763, allocations: 0.8082 MB / 0.8713 GB, free: 1.016 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.509e-05/0.7631, allocations: 70 kB / 0.8714 GB, free: 0.9453 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001538/0.7633, allocations: 95.94 kB / 0.8715 GB, free: 0.8516 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001891/0.7652, allocations: 1.177 MB / 0.8726 GB, free: 15.6 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.901e-05/0.7652, allocations: 4 kB / 0.8726 GB, free: 15.6 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.072e-05/0.7653, allocations: 43.97 kB / 0.8727 GB, free: 15.55 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.266e-05/0.7654, allocations: 41.98 kB / 0.8727 GB, free: 15.51 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001498/0.7669, allocations: 0.8976 MB / 0.8736 GB, free: 14.61 MB / 0.6387 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.006501/0.7734, allocations: 5.82 MB / 0.8793 GB, free: 8.316 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009231/0.7744, allocations: 0.5398 MB / 0.8798 GB, free: 7.766 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004569/0.7748, allocations: 314.6 kB / 0.8801 GB, free: 7.457 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006071/0.7755, allocations: 307.7 kB / 0.8804 GB, free: 7.102 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.909e-05/0.7755, allocations: 43 kB / 0.8804 GB, free: 7.051 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=49): time 2.404e-06/0.7755, allocations: 3.938 kB / 0.8804 GB, free: 7.047 MB / 0.6387 GB Notification: Performance of matching and sorting (n=49): time 0.001663/0.7772, allocations: 0.803 MB / 0.8812 GB, free: 6.238 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.055e-05/0.7773, allocations: 59.84 kB / 0.8813 GB, free: 6.168 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001031/0.7783, allocations: 0.7548 MB / 0.882 GB, free: 5.406 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 7.721e-05/0.7784, allocations: 37.7 kB / 0.882 GB, free: 5.363 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004211/0.7788, allocations: 0.5156 MB / 0.8826 GB, free: 4.84 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002013/0.779, allocations: 186.4 kB / 0.8827 GB, free: 4.656 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002307/0.7793, allocations: 146.6 kB / 0.8829 GB, free: 4.504 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001525/0.7794, allocations: 334 kB / 0.8832 GB, free: 4.172 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003981/0.7798, allocations: 245.9 kB / 0.8834 GB, free: 3.934 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006613/0.7805, allocations: 0.5508 MB / 0.884 GB, free: 3.25 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001108/0.7816, allocations: 0.8073 MB / 0.8847 GB, free: 2.332 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/0.7816, allocations: 0 / 0.8847 GB, free: 2.332 MB / 0.6387 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001438/0.7831, allocations: 0.8465 MB / 0.8856 GB, free: 1.477 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.493e-05/0.7831, allocations: 8 kB / 0.8856 GB, free: 1.469 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.394e-05/0.7831, allocations: 8 kB / 0.8856 GB, free: 1.461 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.926e-05/0.7832, allocations: 12.78 kB / 0.8856 GB, free: 1.449 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005802/0.7838, allocations: 155.8 kB / 0.8858 GB, free: 1.297 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.561e-05/0.7838, allocations: 27.86 kB / 0.8858 GB, free: 1.27 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007638/0.7846, allocations: 83.39 kB / 0.8859 GB, free: 1.188 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.134e-05/0.7846, allocations: 36.05 kB / 0.8859 GB, free: 1.152 MB / 0.6387 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005579/0.7852, allocations: 341.4 kB / 0.8862 GB, free: 0.8086 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001802/0.7854, allocations: 91.42 kB / 0.8863 GB, free: 0.7188 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001088/0.7865, allocations: 0.6218 MB / 0.8869 GB, free: 92 kB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.685e-06/0.7865, allocations: 4 kB / 0.8869 GB, free: 88 kB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.7865, allocations: 7.938 kB / 0.8869 GB, free: 80 kB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007773/0.7873, allocations: 0.5212 MB / 0.8874 GB, free: 15.54 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002662/0.79, allocations: 1.667 MB / 0.8891 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.612e-06/0.79, allocations: 7.938 kB / 0.8891 GB, free: 13.79 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005386/0.7906, allocations: 107.9 kB / 0.8892 GB, free: 13.69 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.007e-06/0.7906, allocations: 4 kB / 0.8892 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.219e-05/0.7906, allocations: 19.94 kB / 0.8892 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.106e-05/0.7907, allocations: 4 kB / 0.8892 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.7907, allocations: 3.984 kB / 0.8892 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001471/0.7921, allocations: 1.027 MB / 0.8902 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003832/0.7925, allocations: 228.4 kB / 0.8904 GB, free: 12.35 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001104/0.7927, allocations: 11.98 kB / 0.8904 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004728/0.7931, allocations: 16 kB / 0.8904 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.142e-05/0.7932, allocations: 35.89 kB / 0.8905 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.588e-05/0.7933, allocations: 19.94 kB / 0.8905 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0007287/0.794, allocations: 0.5107 MB / 0.891 GB, free: 11.76 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.794, allocations: 0 / 0.891 GB, free: 11.76 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0009573/0.795, allocations: 303.4 kB / 0.8913 GB, free: 11.46 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (49): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00225/0.7972, allocations: 1.68 MB / 0.8929 GB, free: 9.754 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001126/0.7984, allocations: 0.6117 MB / 0.8935 GB, free: 9.145 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 8.977e-06/0.7984, allocations: 4 kB / 0.8935 GB, free: 9.141 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0004013/0.7988, allocations: 272 kB / 0.8938 GB, free: 8.875 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002215/0.8011, allocations: 449.8 kB / 0.8942 GB, free: 8.449 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01112/0.8122, allocations: 7.236 MB / 0.9013 GB, free: 0.8242 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008699/0.8131, allocations: 1.133 MB / 0.9024 GB, free: 15.66 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0009036/0.814, allocations: 263 kB / 0.9026 GB, free: 15.4 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005487/0.8146, allocations: 367.3 kB / 0.903 GB, free: 15.04 MB / 0.67 GB Notification: Performance of SimCode: time 9.11e-07/0.8146, allocations: 0 / 0.903 GB, free: 15.04 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05762/0.8723, allocations: 23.07 MB / 0.9255 GB, free: 8.277 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.265/10.14, allocations: 11.86 kB / 0.9255 GB, free: 8.266 MB / 0.6856 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances_res.csv --start-time 0 --stop-time 7200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 2.88 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_TraceSubstances.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1)