Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.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.InletToAirDryAirCO2,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",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.001314/0.001314, allocations: 102.8 kB / 16.27 MB, free: 5.973 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.001135/0.001135, allocations: 188.6 kB / 17.19 MB, free: 5.602 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.224/1.224, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7084/0.7084, allocations: 122.9 MB / 413.9 MB, free: 15.92 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 67.89 kB / 0.4912 GB, free: 7.367 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2977/0.299, allocations: 77.92 MB / 0.5673 GB, free: 32.86 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.1398/0.4389, allocations: 148 MB / 0.7118 GB, free: 6.344 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004488/0.4434, allocations: 4.646 MB / 0.7163 GB, free: 1.688 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002317/0.4436, allocations: 11.94 kB / 0.7163 GB, free: 1.676 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004189/0.4441, allocations: 158.9 kB / 0.7165 GB, free: 1.52 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002993/0.4444, allocations: 95.36 kB / 0.7166 GB, free: 1.426 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001461/0.4446, allocations: 63.92 kB / 0.7166 GB, free: 1.363 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003165/0.4449, allocations: 298.9 kB / 0.7169 GB, free: 1.07 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002487/0.4452, allocations: 143.6 kB / 0.7171 GB, free: 0.9258 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001591/0.4453, allocations: 111.6 kB / 0.7172 GB, free: 0.8164 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001888/0.4455, allocations: 159.3 kB / 0.7173 GB, free: 0.6602 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.648e-05/0.4456, allocations: 16 kB / 0.7173 GB, free: 0.6445 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 3.197e-05/0.4456, allocations: 16 kB / 0.7174 GB, free: 0.6289 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.022e-05/0.4457, allocations: 63.81 kB / 0.7174 GB, free: 0.5664 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 9.764e-05/0.4458, allocations: 107.4 kB / 0.7175 GB, free: 472 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002026/0.446, allocations: 225.5 kB / 0.7177 GB, free: 248 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.446, allocations: 4 kB / 0.7177 GB, free: 244 kB / 0.545 GB Notification: Performance of FrontEnd: time 1.312e-06/0.446, allocations: 0 / 0.7177 GB, free: 244 kB / 0.545 GB Notification: Performance of Transformations before backend: time 7.494e-06/0.446, allocations: 4 kB / 0.7177 GB, free: 240 kB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0004289/0.4464, allocations: 487.1 kB / 0.7182 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.4465, allocations: 12.62 kB / 0.7182 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.979e-05/0.4465, allocations: 58.72 kB / 0.7183 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.335e-05/0.4466, allocations: 24.66 kB / 0.7183 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00025/0.4468, allocations: 258.2 kB / 0.7185 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/0.4469, allocations: 24.8 kB / 0.7186 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.536e-05/0.4469, allocations: 20.38 kB / 0.7186 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003501/0.4473, allocations: 308.8 kB / 0.7189 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.4473, allocations: 0 / 0.7189 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.829e-05/0.4473, allocations: 11.94 kB / 0.7189 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.126e-05/0.4473, allocations: 8 kB / 0.7189 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000176/0.4475, allocations: 123.7 kB / 0.719 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001107/0.4486, allocations: 1.973 MB / 0.7209 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 6.274e-05/0.4487, allocations: 169.1 kB / 0.7211 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.596e-05/0.4487, allocations: 84.14 kB / 0.7212 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.897e-05/0.4487, allocations: 75.28 kB / 0.7213 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.323e-05/0.4488, allocations: 109.8 kB / 0.7214 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.4488, allocations: 0 / 0.7214 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 8.19e-05/0.4489, allocations: 53.39 kB / 0.7214 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.498e-05/0.4489, allocations: 126.7 kB / 0.7215 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003049/0.4492, allocations: 332.4 kB / 0.7219 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 9.438e-06/0.4493, allocations: 29.7 kB / 0.7219 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.614e-05/0.4494, allocations: 159.7 kB / 0.722 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.765e-06/0.4494, allocations: 4 kB / 0.722 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.538e-05/0.4494, allocations: 29.73 kB / 0.7221 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.514e-05/0.4495, allocations: 330.8 kB / 0.7224 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.869e-05/0.4495, allocations: 7.984 kB / 0.7224 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.262e-05/0.4496, allocations: 58.84 kB / 0.7224 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.901e-05/0.4497, allocations: 78.73 kB / 0.7225 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.4497, allocations: 8 kB / 0.7225 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001582/0.4498, allocations: 101.2 kB / 0.7226 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.4498, allocations: 8 kB / 0.7226 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.4499, allocations: 3.938 kB / 0.7226 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.4499, allocations: 4 kB / 0.7226 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.708e-05/0.4499, allocations: 19.98 kB / 0.7227 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/0.45, allocations: 4.25 kB / 0.7227 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.9e-05/0.45, allocations: 23.69 kB / 0.7227 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-06/0.45, allocations: 4 kB / 0.7227 GB, free: 10.78 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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.0001183/0.4502, allocations: 217 kB / 0.7229 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.483e-05/0.4502, allocations: 124.7 kB / 0.723 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.8e-05/0.4503, allocations: 133.7 kB / 0.7231 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.678e-05/0.4504, allocations: 180.3 kB / 0.7233 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-05/0.4504, allocations: 184.2 kB / 0.7235 GB, free: 9.914 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.451e-05/0.4505, allocations: 184.2 kB / 0.7237 GB, free: 9.727 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002474/0.4507, allocations: 473.1 kB / 0.7241 GB, free: 9.207 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-05/0.4507, allocations: 108.9 kB / 0.7242 GB, free: 9.094 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.567e-05/0.4508, allocations: 101 kB / 0.7243 GB, free: 8.988 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-05/0.4508, allocations: 184.3 kB / 0.7245 GB, free: 8.801 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.773e-05/0.4509, allocations: 184.1 kB / 0.7247 GB, free: 8.613 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.057e-05/0.4509, allocations: 180.3 kB / 0.7248 GB, free: 8.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.693e-05/0.451, allocations: 184.2 kB / 0.725 GB, free: 8.242 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001135/0.4511, allocations: 327.5 kB / 0.7253 GB, free: 7.898 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.77e-05/0.4512, allocations: 213.7 kB / 0.7255 GB, free: 7.664 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.06e-05/0.4513, allocations: 180.2 kB / 0.7257 GB, free: 7.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.133e-05/0.4514, allocations: 108.9 kB / 0.7258 GB, free: 7.367 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.107e-05/0.4514, allocations: 180.3 kB / 0.726 GB, free: 7.184 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.583e-05/0.4515, allocations: 105 kB / 0.7261 GB, free: 7.074 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002063/0.4517, allocations: 243 kB / 0.7263 GB, free: 6.836 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4517, allocations: 0 / 0.7263 GB, free: 6.836 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002559/0.4519, allocations: 27.94 kB / 0.7263 GB, free: 6.809 MB / 0.5606 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.000304/0.4523, allocations: 0.8244 MB / 0.7271 GB, free: 5.957 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 7.397e-05/0.4523, allocations: 31.92 kB / 0.7272 GB, free: 5.926 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.4523, allocations: 0 / 0.7272 GB, free: 5.926 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.665e-06/0.4523, allocations: 3.938 kB / 0.7272 GB, free: 5.922 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006594/0.453, allocations: 0.5238 MB / 0.7277 GB, free: 5.402 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002133/0.4552, allocations: 2.524 MB / 0.7302 GB, free: 2.754 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002412/0.4554, allocations: 0.748 MB / 0.7309 GB, free: 1.98 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 8.866e-05/0.4555, allocations: 30.28 kB / 0.7309 GB, free: 1.953 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.165e-05/0.4556, allocations: 59.42 kB / 0.731 GB, free: 1.895 MB / 0.5606 GB Notification: Performance of SimCode: time 3.9e-07/0.4556, allocations: 0 / 0.731 GB, free: 1.895 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01944/0.475, allocations: 4.723 MB / 0.7356 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.925/7.4, allocations: 13.72 kB / 0.7356 GB, free: 13.32 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_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_InletToAirDryAirCO2.fmu > IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1)