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.001866/0.001866, allocations: 112.8 kB / 16.41 MB, free: 6.496 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.002043/0.002043, 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.385/1.385, 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.8072/0.8072, allocations: 126.7 MB / 417.9 MB, free: 12.28 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001898/0.001898, allocations: 69.12 kB / 0.5736 GB, free: 27.16 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.1295, allocations: 78.87 MB / 0.6506 GB, free: 3.539 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.4409/0.5705, allocations: 148 MB / 0.7951 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.004249/0.5748, allocations: 4.651 MB / 0.7997 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002891/0.5751, allocations: 10.25 kB / 0.7997 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0004334/0.5755, allocations: 163.2 kB / 0.7998 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0003255/0.5759, allocations: 86.28 kB / 0.7999 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001437/0.576, allocations: 66.83 kB / 0.8 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0003801/0.5764, allocations: 308.5 kB / 0.8003 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002563/0.5767, allocations: 146.3 kB / 0.8004 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001722/0.5769, allocations: 113.8 kB / 0.8005 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001864/0.5771, allocations: 152 kB / 0.8007 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.757e-05/0.5771, allocations: 16.25 kB / 0.8007 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 3.772e-05/0.5772, allocations: 16.75 kB / 0.8007 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 6.756e-05/0.5772, allocations: 69.52 kB / 0.8008 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 9.174e-05/0.5773, allocations: 100.1 kB / 0.8008 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0002313/0.5776, allocations: 244.9 kB / 0.8011 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.5776, allocations: 1.375 kB / 0.8011 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.123e-06/0.5776, allocations: 0 / 0.8011 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.006e-05/0.5776, allocations: 0 / 0.8011 GB, free: 12.05 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.0004968/0.5781, allocations: 498.5 kB / 0.8016 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.165e-05/0.5781, allocations: 9.625 kB / 0.8016 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.261e-05/0.5782, allocations: 55.97 kB / 0.8016 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.519e-05/0.5782, allocations: 26.55 kB / 0.8016 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000347/0.5786, allocations: 276.9 kB / 0.8019 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/0.5786, allocations: 16.88 kB / 0.8019 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.695e-05/0.5787, allocations: 24.5 kB / 0.8019 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003846/0.579, allocations: 305.6 kB / 0.8022 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.5791, allocations: 5.656 kB / 0.8022 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.843e-05/0.5791, allocations: 11.03 kB / 0.8023 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.138e-05/0.5791, allocations: 9.625 kB / 0.8023 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001769/0.5793, allocations: 126.4 kB / 0.8024 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001329/0.5806, allocations: 1.969 MB / 0.8043 GB, free: 9.406 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 8.76e-05/0.5807, allocations: 172.2 kB / 0.8045 GB, free: 9.23 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.893e-05/0.5808, allocations: 81.27 kB / 0.8045 GB, free: 9.148 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.191e-05/0.5808, allocations: 79.28 kB / 0.8046 GB, free: 9.07 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.168e-05/0.5809, allocations: 110.7 kB / 0.8047 GB, free: 8.953 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=0): time 1.102e-06/0.5809, allocations: 0 / 0.8047 GB, free: 8.953 MB / 0.5919 GB Notification: Performance of matching and sorting (n=0): time 9.389e-05/0.581, allocations: 52.75 kB / 0.8048 GB, free: 8.906 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.971e-05/0.581, allocations: 128 kB / 0.8049 GB, free: 8.77 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003165/0.5814, allocations: 330.4 kB / 0.8052 GB, free: 8.66 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.802e-05/0.5814, allocations: 26.86 kB / 0.8052 GB, free: 8.629 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.5815, allocations: 167.5 kB / 0.8054 GB, free: 8.52 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.796e-06/0.5815, allocations: 1.594 kB / 0.8054 GB, free: 8.52 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.614e-05/0.5815, allocations: 24.64 kB / 0.8054 GB, free: 8.504 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.5817, allocations: 332.5 kB / 0.8057 GB, free: 8.191 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.619e-05/0.5817, allocations: 7.5 kB / 0.8058 GB, free: 8.191 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.968e-05/0.5818, allocations: 62.89 kB / 0.8058 GB, free: 8.121 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.991e-05/0.5818, allocations: 72.36 kB / 0.8059 GB, free: 8.047 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.5819, allocations: 1.656 kB / 0.8059 GB, free: 8.047 MB / 0.5919 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001619/0.582, allocations: 103.1 kB / 0.806 GB, free: 7.992 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.582, allocations: 9.312 kB / 0.806 GB, free: 7.988 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/0.5821, allocations: 4.656 kB / 0.806 GB, free: 7.988 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.5821, allocations: 2.969 kB / 0.806 GB, free: 7.988 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.33e-05/0.5821, allocations: 16.73 kB / 0.806 GB, free: 7.984 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.5822, allocations: 5.375 kB / 0.806 GB, free: 7.984 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.424e-05/0.5822, allocations: 31.61 kB / 0.806 GB, free: 7.965 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-06/0.5823, allocations: 2.75 kB / 0.8061 GB, free: 7.965 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.0001346/0.5824, allocations: 215.1 kB / 0.8063 GB, free: 7.77 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.415e-05/0.5825, allocations: 127.8 kB / 0.8064 GB, free: 7.648 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.563e-05/0.5826, allocations: 131.1 kB / 0.8065 GB, free: 7.523 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.189e-05/0.5826, allocations: 182.2 kB / 0.8067 GB, free: 7.34 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.191e-05/0.5827, allocations: 177.7 kB / 0.8068 GB, free: 7.16 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.51e-05/0.5828, allocations: 189.5 kB / 0.807 GB, free: 6.969 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003161/0.5831, allocations: 476.9 kB / 0.8075 GB, free: 6.527 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.262e-05/0.5832, allocations: 108.5 kB / 0.8076 GB, free: 6.418 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.127e-05/0.5832, allocations: 106.4 kB / 0.8077 GB, free: 6.309 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.466e-05/0.5833, allocations: 181.6 kB / 0.8079 GB, free: 6.125 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.346e-05/0.5834, allocations: 180.2 kB / 0.808 GB, free: 5.941 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.075e-05/0.5834, allocations: 180.8 kB / 0.8082 GB, free: 5.762 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.247e-05/0.5835, allocations: 184.9 kB / 0.8084 GB, free: 5.578 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001656/0.5837, allocations: 331.9 kB / 0.8087 GB, free: 5.246 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001199/0.5838, allocations: 210.2 kB / 0.8089 GB, free: 5.031 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.243e-05/0.5839, allocations: 177.6 kB / 0.8091 GB, free: 4.852 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.584, allocations: 108.2 kB / 0.8092 GB, free: 4.742 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.916e-05/0.5841, allocations: 177.6 kB / 0.8093 GB, free: 4.562 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.447e-05/0.5842, allocations: 114.4 kB / 0.8094 GB, free: 4.449 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000226/0.5844, allocations: 235.8 kB / 0.8097 GB, free: 4.371 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5844, allocations: 0 / 0.8097 GB, free: 4.371 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002616/0.5847, allocations: 23.56 kB / 0.8097 GB, free: 4.371 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.0004296/0.5851, allocations: 0.84 MB / 0.8105 GB, free: 3.547 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 7.05e-05/0.5852, allocations: 25 kB / 0.8105 GB, free: 3.543 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.5852, allocations: 0 / 0.8105 GB, free: 3.543 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 5.09e-06/0.5852, allocations: 3.938 kB / 0.8105 GB, free: 3.539 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006926/0.5859, allocations: 0.5155 MB / 0.811 GB, free: 3.078 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002327/0.5882, allocations: 2.507 MB / 0.8135 GB, free: 1.52 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003404/0.5886, allocations: 0.7456 MB / 0.8142 GB, free: 0.8203 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 8.438e-05/0.5887, allocations: 30.39 kB / 0.8143 GB, free: 0.8164 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.682e-05/0.5888, allocations: 59.19 kB / 0.8143 GB, free: 0.8086 MB / 0.5919 GB Notification: Performance of SimCode: time 2.3e-07/0.5888, allocations: 0 / 0.8143 GB, free: 0.8086 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02452/0.6133, allocations: 4.82 MB / 0.819 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.832/8.445, allocations: 2.484 kB / 0.819 GB, free: 14.91 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)