Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.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.FMI.Conversion.Validation.InletToAirMoistAirCO2,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",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.001059/0.001059, allocations: 99.17 kB / 16.27 MB, free: 5.965 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.001121/0.001121, allocations: 190.9 kB / 17.2 MB, free: 5.594 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.246/1.246, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7192/0.7192, allocations: 122.8 MB / 413.9 MB, free: 15.92 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 55.91 kB / 0.4912 GB, free: 7.355 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3037/0.3051, allocations: 77.92 MB / 0.5673 GB, free: 32.71 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.1579/0.4631, allocations: 174 MB / 0.7372 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009209/0.4723, allocations: 9.522 MB / 0.7465 GB, free: 2.664 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003186/0.4727, allocations: 7.938 kB / 0.7465 GB, free: 2.656 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005726/0.4733, allocations: 194.6 kB / 0.7467 GB, free: 2.465 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003089/0.4736, allocations: 91.31 kB / 0.7468 GB, free: 2.375 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002072/0.4739, allocations: 63.91 kB / 0.7469 GB, free: 2.312 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004032/0.4743, allocations: 330.7 kB / 0.7472 GB, free: 1.988 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003441/0.4746, allocations: 208.8 kB / 0.7474 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003537/0.475, allocations: 167.3 kB / 0.7476 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001657/0.4752, allocations: 115.5 kB / 0.7477 GB, free: 1.504 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.618e-05/0.4752, allocations: 24 kB / 0.7477 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 4.371e-05/0.4753, allocations: 20 kB / 0.7477 GB, free: 1.461 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.835e-05/0.4753, allocations: 75.75 kB / 0.7478 GB, free: 1.387 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001163/0.4755, allocations: 127.4 kB / 0.7479 GB, free: 1.262 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002385/0.4757, allocations: 275.1 kB / 0.7482 GB, free: 0.9922 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.4757, allocations: 0 / 0.7482 GB, free: 0.9922 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.122e-06/0.4757, allocations: 4 kB / 0.7482 GB, free: 0.9883 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.023e-05/0.4758, allocations: 0 / 0.7482 GB, free: 0.9883 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0004414/0.4762, allocations: 0.5145 MB / 0.7487 GB, free: 436 kB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.4762, allocations: 8.625 kB / 0.7487 GB, free: 428 kB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.919e-05/0.4763, allocations: 70.41 kB / 0.7487 GB, free: 348 kB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.643e-05/0.4764, allocations: 31.66 kB / 0.7488 GB, free: 316 kB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002464/0.4766, allocations: 266.5 kB / 0.749 GB, free: 8 kB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.2272/0.7039, allocations: 18.05 kB / 0.749 GB, free: 175.6 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.68e-05/0.7039, allocations: 27.75 kB / 0.7491 GB, free: 175.6 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004648/0.7044, allocations: 321 kB / 0.7494 GB, free: 175.4 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.7044, allocations: 4.031 kB / 0.7494 GB, free: 175.4 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.362e-05/0.7045, allocations: 17.03 kB / 0.7494 GB, free: 175.4 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.262e-05/0.7045, allocations: 9.5 kB / 0.7494 GB, free: 175.4 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002249/0.7047, allocations: 141.3 kB / 0.7495 GB, free: 175.4 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009835/0.7057, allocations: 1.812 MB / 0.7513 GB, free: 173.8 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 3.878e-05/0.7058, allocations: 171.4 kB / 0.7515 GB, free: 173.6 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.367e-05/0.7058, allocations: 81.97 kB / 0.7516 GB, free: 173.5 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.205e-05/0.7058, allocations: 81.02 kB / 0.7516 GB, free: 173.4 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.826e-05/0.7058, allocations: 107.4 kB / 0.7517 GB, free: 173.3 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 1.904e-06/0.7058, allocations: 4.219 kB / 0.7517 GB, free: 173.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 8.054e-05/0.7059, allocations: 55.09 kB / 0.7518 GB, free: 173.3 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.129e-05/0.7059, allocations: 132.6 kB / 0.7519 GB, free: 173.1 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004013/0.7063, allocations: 372.9 kB / 0.7523 GB, free: 173 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.624e-06/0.7064, allocations: 27.16 kB / 0.7523 GB, free: 172.9 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/0.7065, allocations: 164.8 kB / 0.7525 GB, free: 172.8 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.141e-06/0.7065, allocations: 7.469 kB / 0.7525 GB, free: 172.8 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.627e-05/0.7065, allocations: 21.83 kB / 0.7525 GB, free: 172.8 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.719e-05/0.7066, allocations: 339.9 kB / 0.7528 GB, free: 172.4 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.528e-05/0.7066, allocations: 3.938 kB / 0.7528 GB, free: 172.4 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.446e-05/0.7066, allocations: 40.7 kB / 0.7528 GB, free: 172.4 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.72e-05/0.7067, allocations: 43.52 kB / 0.7529 GB, free: 172.3 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.7067, allocations: 0.875 kB / 0.7529 GB, free: 172.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001539/0.7069, allocations: 88.77 kB / 0.753 GB, free: 172.3 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.7069, allocations: 7.312 kB / 0.753 GB, free: 172.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.7069, allocations: 1.188 kB / 0.753 GB, free: 172.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.7069, allocations: 3.359 kB / 0.753 GB, free: 172.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.604e-05/0.707, allocations: 11.91 kB / 0.753 GB, free: 172.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.283e-06/0.707, allocations: 3.234 kB / 0.753 GB, free: 172.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.971e-05/0.7071, allocations: 27.53 kB / 0.753 GB, free: 172.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/0.7071, allocations: 2.844 kB / 0.753 GB, free: 172.3 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (5): * Single equations (assignments): 5 * 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.0001041/0.7072, allocations: 212.4 kB / 0.7532 GB, free: 172.1 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.514e-05/0.7073, allocations: 130.7 kB / 0.7534 GB, free: 171.9 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.39e-05/0.7074, allocations: 129.9 kB / 0.7535 GB, free: 171.8 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-05/0.7074, allocations: 186.6 kB / 0.7537 GB, free: 171.6 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.44e-05/0.7074, allocations: 180.4 kB / 0.7538 GB, free: 171.5 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.369e-05/0.7075, allocations: 177.5 kB / 0.754 GB, free: 171.3 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002653/0.7078, allocations: 496 kB / 0.7545 GB, free: 170.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.689e-05/0.7078, allocations: 108.5 kB / 0.7546 GB, free: 170.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.77e-05/0.7078, allocations: 106.4 kB / 0.7547 GB, free: 170.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.727e-05/0.7078, allocations: 179.2 kB / 0.7548 GB, free: 170.4 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.73e-05/0.7079, allocations: 179 kB / 0.755 GB, free: 170.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.833e-05/0.7079, allocations: 187.1 kB / 0.7552 GB, free: 170 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.676e-05/0.7079, allocations: 180.9 kB / 0.7554 GB, free: 169.9 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.825e-05/0.708, allocations: 335.2 kB / 0.7557 GB, free: 169.5 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.367e-05/0.7081, allocations: 210.9 kB / 0.7559 GB, free: 169.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.49e-05/0.7082, allocations: 179.5 kB / 0.7561 GB, free: 169.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.833e-05/0.7083, allocations: 110.9 kB / 0.7562 GB, free: 169 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.244e-05/0.7083, allocations: 186.6 kB / 0.7563 GB, free: 168.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.651e-05/0.7083, allocations: 103.5 kB / 0.7564 GB, free: 168.7 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003044/0.7086, allocations: 268.5 kB / 0.7567 GB, free: 168.6 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7086, allocations: 3.938 kB / 0.7567 GB, free: 168.6 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002852/0.7089, allocations: 28.84 kB / 0.7567 GB, free: 168.6 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (0): * Single equations (assignments): 0 * 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.0002667/0.7092, allocations: 0.8348 MB / 0.7575 GB, free: 167.8 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 8.774e-05/0.7093, allocations: 20.52 kB / 0.7576 GB, free: 167.7 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.7093, allocations: 0 / 0.7576 GB, free: 167.7 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.263e-06/0.7093, allocations: 1.188 kB / 0.7576 GB, free: 167.7 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007837/0.7101, allocations: 0.5524 MB / 0.7581 GB, free: 167.3 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002651/0.7128, allocations: 2.713 MB / 0.7608 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002509/0.713, allocations: 0.75 MB / 0.7615 GB, free: 164.7 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001699/0.7132, allocations: 33.14 kB / 0.7615 GB, free: 164.7 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001043/0.7133, allocations: 78.47 kB / 0.7616 GB, free: 164.7 MB / 0.5762 GB Notification: Performance of SimCode: time 9.82e-07/0.7133, allocations: 0 / 0.7616 GB, free: 164.7 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02174/0.7351, allocations: 5.835 MB / 0.7673 GB, free: 163.5 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.035/7.77, allocations: 12.67 kB / 0.7673 GB, free: 163.5 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.fmu > IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1)