Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,fileNamePrefix="BuildingSystems_BuildingSystems_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.004959/0.004959, allocations: 98.36 kB / 15.73 MB, free: 6.055 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.00135/0.00135, allocations: 194.7 kB / 16.68 MB, free: 5.969 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.513/1.513, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002499/0.002499, allocations: 292.6 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.172/1.172, allocations: 178.6 MB / 0.5074 GB, free: 12.69 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002788/0.002788, allocations: 96.12 kB / 0.6943 GB, free: 15.15 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3641/0.3669, allocations: 89.12 MB / 0.7814 GB, free: 1.125 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.193/0.5599, allocations: 174.1 MB / 0.9513 GB, free: 10.04 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01084/0.5708, allocations: 9.522 MB / 0.9606 GB, free: 496 kB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003961/0.5713, allocations: 11.94 kB / 0.9606 GB, free: 484 kB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0007764/0.5721, allocations: 186.7 kB / 0.9608 GB, free: 296 kB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004524/0.5726, allocations: 95.3 kB / 0.9609 GB, free: 200 kB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002727/0.5729, allocations: 63.92 kB / 0.961 GB, free: 136 kB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0005316/0.5735, allocations: 326.7 kB / 0.9613 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003809/0.5738, allocations: 200.9 kB / 0.9615 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003773/0.5742, allocations: 163.4 kB / 0.9616 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000165/0.5744, allocations: 123.4 kB / 0.9618 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.77e-05/0.5745, allocations: 24 kB / 0.9618 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 4.609e-05/0.5745, allocations: 20 kB / 0.9618 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 9.217e-05/0.5746, allocations: 79.8 kB / 0.9619 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001339/0.5748, allocations: 127.4 kB / 0.962 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000342/0.5751, allocations: 297 kB / 0.9623 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.5751, allocations: 0 / 0.9623 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.193e-06/0.5751, allocations: 3.938 kB / 0.9623 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.5751, allocations: 0 / 0.9623 GB, free: 14.8 MB / 0.7325 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.0005886/0.5757, allocations: 0.5181 MB / 0.9628 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.5758, allocations: 12.03 kB / 0.9628 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.944e-05/0.5758, allocations: 62.53 kB / 0.9629 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.032e-05/0.5759, allocations: 35.75 kB / 0.9629 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003994/0.5763, allocations: 278.6 kB / 0.9632 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.145e-05/0.5764, allocations: 20.56 kB / 0.9632 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.557e-05/0.5764, allocations: 24 kB / 0.9632 GB, free: 13.76 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004956/0.5769, allocations: 327.9 kB / 0.9635 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.5769, allocations: 0 / 0.9635 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.464e-05/0.5769, allocations: 12 kB / 0.9635 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.398e-05/0.577, allocations: 15.94 kB / 0.9635 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002543/0.5772, allocations: 151.7 kB / 0.9637 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00149/0.5787, allocations: 1.816 MB / 0.9655 GB, free: 11.3 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 9.572e-05/0.5788, allocations: 173.1 kB / 0.9656 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.998e-05/0.5789, allocations: 84.08 kB / 0.9657 GB, free: 11.04 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.098e-05/0.5789, allocations: 75.28 kB / 0.9658 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.182e-05/0.579, allocations: 105.8 kB / 0.9659 GB, free: 10.85 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.579, allocations: 4 kB / 0.9659 GB, free: 10.84 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 0.0001102/0.5791, allocations: 57.45 kB / 0.9659 GB, free: 10.78 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.919e-05/0.5792, allocations: 130.8 kB / 0.9661 GB, free: 10.64 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004322/0.5796, allocations: 377.6 kB / 0.9664 GB, free: 10.26 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.347e-05/0.5796, allocations: 25.7 kB / 0.9664 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001426/0.5798, allocations: 167.9 kB / 0.9666 GB, free: 10.06 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.835e-06/0.5798, allocations: 0 / 0.9666 GB, free: 10.06 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.602e-05/0.5798, allocations: 17.72 kB / 0.9666 GB, free: 10.04 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001526/0.58, allocations: 342.8 kB / 0.9669 GB, free: 9.695 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.743e-05/0.58, allocations: 7.984 kB / 0.967 GB, free: 9.688 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.621e-05/0.5801, allocations: 32.3 kB / 0.967 GB, free: 9.641 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.214e-05/0.5801, allocations: 44.23 kB / 0.967 GB, free: 9.582 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.5801, allocations: 0 / 0.967 GB, free: 9.582 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000168/0.5803, allocations: 97.31 kB / 0.9671 GB, free: 9.48 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.5803, allocations: 4 kB / 0.9671 GB, free: 9.477 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.5803, allocations: 4 kB / 0.9671 GB, free: 9.473 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.5804, allocations: 3.984 kB / 0.9671 GB, free: 9.469 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.044e-05/0.5804, allocations: 8.156 kB / 0.9671 GB, free: 9.461 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.5804, allocations: 7.938 kB / 0.9671 GB, free: 9.453 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.212e-05/0.5805, allocations: 27.73 kB / 0.9672 GB, free: 9.426 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.5805, allocations: 4 kB / 0.9672 GB, free: 9.422 MB / 0.7325 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.0001443/0.5807, allocations: 209.1 kB / 0.9674 GB, free: 9.207 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.845e-05/0.5808, allocations: 132.7 kB / 0.9675 GB, free: 9.07 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.586e-05/0.5809, allocations: 134.9 kB / 0.9676 GB, free: 8.926 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.402e-05/0.581, allocations: 184.2 kB / 0.9678 GB, free: 8.738 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.307e-05/0.581, allocations: 176.3 kB / 0.968 GB, free: 8.559 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.092e-05/0.5811, allocations: 184.2 kB / 0.9681 GB, free: 8.371 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003509/0.5815, allocations: 489 kB / 0.9686 GB, free: 7.836 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.765e-05/0.5815, allocations: 108.9 kB / 0.9687 GB, free: 7.723 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.926e-05/0.5816, allocations: 105 kB / 0.9688 GB, free: 7.613 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.629e-05/0.5817, allocations: 188.2 kB / 0.969 GB, free: 7.422 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.219e-05/0.5817, allocations: 176.3 kB / 0.9692 GB, free: 7.242 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.279e-05/0.5818, allocations: 180.3 kB / 0.9693 GB, free: 7.059 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.096e-05/0.5819, allocations: 184.2 kB / 0.9695 GB, free: 6.871 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001836/0.5821, allocations: 339.5 kB / 0.9698 GB, free: 6.516 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001338/0.5822, allocations: 214 kB / 0.97 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001051/0.5823, allocations: 180.5 kB / 0.9702 GB, free: 6.098 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001152/0.5825, allocations: 104.9 kB / 0.9703 GB, free: 5.988 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.599e-05/0.5825, allocations: 184.3 kB / 0.9705 GB, free: 5.801 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.714e-05/0.5826, allocations: 112.9 kB / 0.9706 GB, free: 5.684 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002971/0.5829, allocations: 271.2 kB / 0.9709 GB, free: 5.426 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5829, allocations: 0 / 0.9709 GB, free: 5.426 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002682/0.5832, allocations: 31.94 kB / 0.9709 GB, free: 5.395 MB / 0.7325 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.0004562/0.5836, allocations: 0.832 MB / 0.9717 GB, free: 4.535 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 8.09e-05/0.5837, allocations: 27.92 kB / 0.9717 GB, free: 4.508 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.5837, allocations: 0 / 0.9717 GB, free: 4.508 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.432e-06/0.5837, allocations: 0 / 0.9717 GB, free: 4.508 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008406/0.5846, allocations: 0.5442 MB / 0.9723 GB, free: 3.953 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002977/0.5876, allocations: 2.694 MB / 0.9749 GB, free: 1.156 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004025/0.588, allocations: 0.7558 MB / 0.9756 GB, free: 384 kB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001223/0.5881, allocations: 26.97 kB / 0.9757 GB, free: 356 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001031/0.5882, allocations: 79.41 kB / 0.9757 GB, free: 276 kB / 0.7325 GB Notification: Performance of SimCode: time 2.31e-07/0.5883, allocations: 0 / 0.9757 GB, free: 276 kB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02674/0.615, allocations: 5.927 MB / 0.9815 GB, free: 10.55 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.154/8.769, allocations: 15.41 kB / 0.9815 GB, free: 10.54 MB / 0.7481 GB (rm -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.fmu > BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1)