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.001093/0.001093, allocations: 114.1 kB / 16.41 MB, free: 6.492 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.001099/0.001099, allocations: 191.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.294/1.294, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7613/0.7613, allocations: 122.9 MB / 414.1 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 63.72 kB / 0.568 GB, free: 28.91 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.12, allocations: 77.93 MB / 0.6441 GB, free: 9.512 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.439/0.559, allocations: 148 MB / 0.7886 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.003864/0.5629, allocations: 4.656 MB / 0.7932 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001995/0.5631, allocations: 10.62 kB / 0.7932 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0004152/0.5635, allocations: 164.6 kB / 0.7933 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0002589/0.5638, allocations: 85.5 kB / 0.7934 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001235/0.564, allocations: 63.28 kB / 0.7935 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0003184/0.5643, allocations: 305.8 kB / 0.7938 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002475/0.5645, allocations: 141.9 kB / 0.7939 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001519/0.5647, allocations: 116.3 kB / 0.794 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001746/0.5649, allocations: 153.4 kB / 0.7942 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.673e-05/0.5649, allocations: 24.16 kB / 0.7942 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 2.999e-05/0.565, allocations: 16.06 kB / 0.7942 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 6.964e-05/0.565, allocations: 64.92 kB / 0.7943 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 9.867e-05/0.5651, allocations: 106.2 kB / 0.7944 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0002358/0.5654, allocations: 238.2 kB / 0.7946 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.5654, allocations: 0 / 0.7946 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.182e-06/0.5654, allocations: 6.266 kB / 0.7946 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.5654, allocations: 0 / 0.7946 GB, free: 12.71 MB / 0.5919 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.0004474/0.5659, allocations: 494 kB / 0.7951 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/0.5659, allocations: 9.562 kB / 0.7951 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.481e-05/0.566, allocations: 63.31 kB / 0.7951 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.255e-05/0.566, allocations: 25.73 kB / 0.7952 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003453/0.5664, allocations: 264.5 kB / 0.7954 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/0.5664, allocations: 17.56 kB / 0.7954 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.42e-05/0.5664, allocations: 21.56 kB / 0.7954 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003734/0.5668, allocations: 311.3 kB / 0.7957 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.5668, allocations: 1.5 kB / 0.7957 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.089e-05/0.5668, allocations: 18.05 kB / 0.7958 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.859e-06/0.5669, allocations: 7.031 kB / 0.7958 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001693/0.567, allocations: 124.6 kB / 0.7959 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001145/0.5682, allocations: 1.967 MB / 0.7978 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 7.591e-05/0.5683, allocations: 172.9 kB / 0.798 GB, free: 9.914 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.897e-05/0.5683, allocations: 83.58 kB / 0.798 GB, free: 9.832 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.295e-05/0.5683, allocations: 75.28 kB / 0.7981 GB, free: 9.758 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.599e-05/0.5684, allocations: 112.3 kB / 0.7982 GB, free: 9.641 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.5684, allocations: 0 / 0.7982 GB, free: 9.641 MB / 0.5919 GB Notification: Performance of matching and sorting (n=0): time 7.643e-05/0.5685, allocations: 56.83 kB / 0.7983 GB, free: 9.594 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.669e-05/0.5685, allocations: 130.7 kB / 0.7984 GB, free: 9.453 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002807/0.5688, allocations: 330.4 kB / 0.7987 GB, free: 9.344 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 9.117e-06/0.5688, allocations: 25.7 kB / 0.7987 GB, free: 9.312 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001057/0.569, allocations: 165.2 kB / 0.7989 GB, free: 9.207 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.534e-06/0.569, allocations: 0 / 0.7989 GB, free: 9.207 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.268e-05/0.569, allocations: 26.47 kB / 0.7989 GB, free: 9.191 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.5691, allocations: 333.1 kB / 0.7992 GB, free: 8.879 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.597e-05/0.5691, allocations: 7.672 kB / 0.7993 GB, free: 8.879 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.09e-05/0.5692, allocations: 61.39 kB / 0.7993 GB, free: 8.809 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.156e-05/0.5693, allocations: 66.28 kB / 0.7994 GB, free: 8.738 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.5693, allocations: 0 / 0.7994 GB, free: 8.738 MB / 0.5919 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001648/0.5694, allocations: 111.5 kB / 0.7995 GB, free: 8.68 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.5695, allocations: 9.469 kB / 0.7995 GB, free: 8.676 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.5695, allocations: 2.688 kB / 0.7995 GB, free: 8.676 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.5695, allocations: 6.75 kB / 0.7995 GB, free: 8.672 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.461e-05/0.5696, allocations: 17.86 kB / 0.7995 GB, free: 8.668 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/0.5696, allocations: 2.656 kB / 0.7995 GB, free: 8.668 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.268e-05/0.5696, allocations: 27.73 kB / 0.7995 GB, free: 8.648 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.5697, allocations: 5.812 kB / 0.7996 GB, free: 8.648 MB / 0.5919 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.0001181/0.5698, allocations: 217.6 kB / 0.7998 GB, free: 8.453 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.194e-05/0.5699, allocations: 127.5 kB / 0.7999 GB, free: 8.332 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.522e-05/0.5699, allocations: 133.1 kB / 0.8 GB, free: 8.211 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.481e-05/0.57, allocations: 176.3 kB / 0.8002 GB, free: 8.031 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.034e-05/0.57, allocations: 182.7 kB / 0.8003 GB, free: 7.848 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.568e-05/0.5701, allocations: 183 kB / 0.8005 GB, free: 7.664 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002791/0.5704, allocations: 481 kB / 0.801 GB, free: 7.215 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.873e-05/0.5704, allocations: 104.4 kB / 0.8011 GB, free: 7.109 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.488e-05/0.5705, allocations: 102.8 kB / 0.8012 GB, free: 7.004 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.732e-05/0.5705, allocations: 185.5 kB / 0.8014 GB, free: 6.82 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.347e-05/0.5706, allocations: 180.2 kB / 0.8015 GB, free: 6.637 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.564e-05/0.5706, allocations: 180.4 kB / 0.8017 GB, free: 6.453 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.705e-05/0.5707, allocations: 184.9 kB / 0.8019 GB, free: 6.27 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001274/0.5708, allocations: 331.3 kB / 0.8022 GB, free: 5.941 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001011/0.5709, allocations: 203.2 kB / 0.8024 GB, free: 5.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.22e-05/0.571, allocations: 187.8 kB / 0.8026 GB, free: 5.543 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.892e-05/0.5711, allocations: 110.3 kB / 0.8027 GB, free: 5.434 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.033e-05/0.5712, allocations: 180.2 kB / 0.8028 GB, free: 5.25 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.975e-05/0.5712, allocations: 103.4 kB / 0.8029 GB, free: 5.145 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001903/0.5714, allocations: 237.5 kB / 0.8032 GB, free: 5.062 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5714, allocations: 0 / 0.8032 GB, free: 5.062 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002543/0.5717, allocations: 24.84 kB / 0.8032 GB, free: 5.062 MB / 0.5919 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.0003484/0.5721, allocations: 0.8387 MB / 0.804 GB, free: 4.234 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 6.843e-05/0.5721, allocations: 26.2 kB / 0.804 GB, free: 4.227 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.5721, allocations: 1.094 kB / 0.804 GB, free: 4.227 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.773e-06/0.5721, allocations: 4.188 kB / 0.804 GB, free: 4.227 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006425/0.5728, allocations: 0.5228 MB / 0.8046 GB, free: 3.766 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002094/0.5749, allocations: 2.514 MB / 0.807 GB, free: 2.199 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002919/0.5752, allocations: 0.74 MB / 0.8077 GB, free: 1.504 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 7.849e-05/0.5753, allocations: 28.97 kB / 0.8078 GB, free: 1.5 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.447e-05/0.5754, allocations: 61.77 kB / 0.8078 GB, free: 1.492 MB / 0.5919 GB Notification: Performance of SimCode: time 2.6e-07/0.5754, allocations: 3.938 kB / 0.8078 GB, free: 1.488 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01812/0.5935, allocations: 4.804 MB / 0.8125 GB, free: 8 kB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.511/8.104, allocations: 15.92 kB / 0.8125 GB, free: 15.99 MB / 0.6075 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)