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.001151/0.001151, allocations: 109.1 kB / 16.41 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.001183/0.001183, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.263/1.263, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7277/0.7277, allocations: 122.9 MB / 414.1 MB, free: 15.88 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 68.72 kB / 0.568 GB, free: 28.89 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.1455, allocations: 77.93 MB / 0.6441 GB, free: 9.527 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.TraceSubstances): time 0.555/0.7006, allocations: 195.1 MB / 0.8346 GB, free: 2.598 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01708/0.7177, allocations: 14.32 MB / 0.8486 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001378/0.7191, allocations: 37.16 kB / 0.8486 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00166/0.7208, allocations: 0.52 MB / 0.8491 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004801/0.7256, allocations: 1.957 MB / 0.851 GB, free: 5.051 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002476/0.7281, allocations: 0.8674 MB / 0.8519 GB, free: 4.391 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003174/0.7313, allocations: 2.585 MB / 0.8544 GB, free: 2.914 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001688/0.733, allocations: 1.11 MB / 0.8555 GB, free: 2.262 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004135/0.7372, allocations: 1.644 MB / 0.8571 GB, free: 1.277 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001764/0.7389, allocations: 0.9326 MB / 0.858 GB, free: 0.7344 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0003279/0.7393, allocations: 109.7 kB / 0.8581 GB, free: 0.7305 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002702/0.742, allocations: 1.106 MB / 0.8592 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0007905/0.7428, allocations: 0.4949 MB / 0.8597 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001407/0.7442, allocations: 0.6377 MB / 0.8603 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003274/0.7475, allocations: 1.911 MB / 0.8621 GB, free: 12.83 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.7475, allocations: 4 kB / 0.8621 GB, free: 12.83 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.102e-06/0.7475, allocations: 0 / 0.8621 GB, free: 12.83 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 6.153e-05/0.7476, allocations: 0 / 0.8621 GB, free: 12.83 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.002767/0.7504, allocations: 1.478 MB / 0.8636 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.7504, allocations: 12.62 kB / 0.8636 GB, free: 11.28 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002165/0.7506, allocations: 151.6 kB / 0.8637 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001419/0.7521, allocations: 262.9 kB / 0.864 GB, free: 10.87 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00152/0.7536, allocations: 0.8006 MB / 0.8648 GB, free: 10.02 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.629e-05/0.7537, allocations: 66 kB / 0.8648 GB, free: 9.957 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001502/0.7538, allocations: 96 kB / 0.8649 GB, free: 9.863 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001749/0.7556, allocations: 1.174 MB / 0.8661 GB, free: 8.621 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.523e-05/0.7556, allocations: 3.938 kB / 0.8661 GB, free: 8.617 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.58e-05/0.7557, allocations: 43.94 kB / 0.8661 GB, free: 8.574 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-05/0.7558, allocations: 34 kB / 0.8662 GB, free: 8.539 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001366/0.7571, allocations: 0.9015 MB / 0.867 GB, free: 7.637 MB / 0.6231 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.005894/0.763, allocations: 5.752 MB / 0.8727 GB, free: 1.43 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008339/0.7639, allocations: 0.5389 MB / 0.8732 GB, free: 0.8828 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004194/0.7643, allocations: 322.6 kB / 0.8735 GB, free: 0.5664 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000565/0.7649, allocations: 307.8 kB / 0.8738 GB, free: 216 kB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.113e-05/0.765, allocations: 43 kB / 0.8738 GB, free: 164 kB / 0.6231 GB Notification: Performance of pre-optimization done (n=49): time 1.994e-06/0.765, allocations: 0 / 0.8738 GB, free: 164 kB / 0.6231 GB Notification: Performance of matching and sorting (n=49): time 0.001545/0.7665, allocations: 0.807 MB / 0.8746 GB, free: 15.34 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.347e-05/0.7666, allocations: 55.84 kB / 0.8747 GB, free: 15.28 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009323/0.7675, allocations: 0.751 MB / 0.8754 GB, free: 14.52 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 7.202e-05/0.7676, allocations: 37.7 kB / 0.8754 GB, free: 14.48 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003884/0.768, allocations: 0.5193 MB / 0.8759 GB, free: 13.95 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001931/0.7682, allocations: 186.4 kB / 0.8761 GB, free: 13.77 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002113/0.7684, allocations: 146.5 kB / 0.8763 GB, free: 13.62 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.7685, allocations: 337.9 kB / 0.8766 GB, free: 13.29 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003677/0.7689, allocations: 253.8 kB / 0.8768 GB, free: 13.04 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005907/0.7695, allocations: 0.5469 MB / 0.8774 GB, free: 12.36 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001018/0.7705, allocations: 0.8034 MB / 0.8781 GB, free: 11.45 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.698e-06/0.7706, allocations: 4 kB / 0.8781 GB, free: 11.44 MB / 0.6387 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001314/0.7719, allocations: 0.8465 MB / 0.879 GB, free: 10.59 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.455e-05/0.7719, allocations: 11.98 kB / 0.879 GB, free: 10.58 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.429e-05/0.7719, allocations: 8.875 kB / 0.879 GB, free: 10.57 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.629e-05/0.772, allocations: 12 kB / 0.879 GB, free: 10.56 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005458/0.7725, allocations: 155.8 kB / 0.8792 GB, free: 10.41 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.318e-05/0.7726, allocations: 16.48 kB / 0.8792 GB, free: 10.39 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007777/0.7733, allocations: 95.33 kB / 0.8793 GB, free: 10.3 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-05/0.7734, allocations: 35.94 kB / 0.8793 GB, free: 10.26 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.0004454/0.7739, allocations: 333.4 kB / 0.8796 GB, free: 9.926 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002071/0.7741, allocations: 91.44 kB / 0.8797 GB, free: 9.836 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009777/0.7751, allocations: 0.6257 MB / 0.8803 GB, free: 9.199 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.062e-06/0.7751, allocations: 4 kB / 0.8803 GB, free: 9.195 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.7751, allocations: 0 / 0.8803 GB, free: 9.195 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006767/0.7758, allocations: 0.5173 MB / 0.8808 GB, free: 8.668 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002455/0.7782, allocations: 1.671 MB / 0.8825 GB, free: 6.918 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.229e-06/0.7783, allocations: 3.938 kB / 0.8825 GB, free: 6.914 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005084/0.7788, allocations: 111.9 kB / 0.8826 GB, free: 6.805 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.915e-06/0.7788, allocations: 4 kB / 0.8826 GB, free: 6.801 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.848e-05/0.7788, allocations: 8 kB / 0.8826 GB, free: 6.793 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.49e-06/0.7789, allocations: 4 kB / 0.8826 GB, free: 6.789 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.7789, allocations: 8.156 kB / 0.8826 GB, free: 6.781 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0013/0.7802, allocations: 1.024 MB / 0.8836 GB, free: 5.719 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003656/0.7805, allocations: 236.3 kB / 0.8838 GB, free: 5.469 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001211/0.7807, allocations: 16 kB / 0.8838 GB, free: 5.453 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004636/0.7811, allocations: 11.98 kB / 0.8838 GB, free: 5.441 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.835e-05/0.7812, allocations: 39.67 kB / 0.8839 GB, free: 5.402 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.347e-05/0.7813, allocations: 20 kB / 0.8839 GB, free: 5.383 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006094/0.7819, allocations: 0.5107 MB / 0.8844 GB, free: 4.875 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.71e-07/0.7819, allocations: 8 kB / 0.8844 GB, free: 4.867 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008463/0.7827, allocations: 299.4 kB / 0.8847 GB, free: 4.574 MB / 0.6387 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.001846/0.7846, allocations: 1.676 MB / 0.8863 GB, free: 2.859 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0009204/0.7855, allocations: 0.5999 MB / 0.8869 GB, free: 2.262 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.7855, allocations: 0 / 0.8869 GB, free: 2.262 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0003515/0.7859, allocations: 279.4 kB / 0.8872 GB, free: 1.988 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001844/0.7877, allocations: 447.5 kB / 0.8876 GB, free: 1.566 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009057/0.7968, allocations: 7.232 MB / 0.8947 GB, free: 9.949 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007407/0.7976, allocations: 1.125 MB / 0.8958 GB, free: 8.797 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0007938/0.7984, allocations: 267 kB / 0.896 GB, free: 8.531 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004715/0.7989, allocations: 359.3 kB / 0.8964 GB, free: 8.18 MB / 0.6544 GB Notification: Performance of SimCode: time 1.212e-06/0.7989, allocations: 0 / 0.8964 GB, free: 8.18 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04916/0.8481, allocations: 23.08 MB / 0.9189 GB, free: 1.41 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.943/9.791, allocations: 4.781 kB / 0.9189 GB, free: 1.41 MB / 0.67 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)