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.001291/0.001291, allocations: 103.8 kB / 16.4 MB, free: 6.453 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.001294/0.001294, allocations: 195.9 kB / 17.34 MB, free: 5.719 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.295/1.295, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.705/0.705, allocations: 115.3 MB / 406.5 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001393, allocations: 76.5 kB / 0.5572 GB, free: 32.53 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1585/0.1599, allocations: 76.18 MB / 0.6316 GB, free: 4.867 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.5786/0.7384, allocations: 174 MB / 0.8016 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008158/0.7466, allocations: 9.513 MB / 0.8109 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003475/0.747, allocations: 11.78 kB / 0.8109 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005562/0.7477, allocations: 191.8 kB / 0.8111 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0002373/0.7479, allocations: 86.28 kB / 0.8111 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001785/0.7481, allocations: 68.38 kB / 0.8112 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0003698/0.7485, allocations: 335.7 kB / 0.8115 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003356/0.7488, allocations: 196.7 kB / 0.8117 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003143/0.7491, allocations: 165.5 kB / 0.8119 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001285/0.7493, allocations: 121.1 kB / 0.812 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.92e-05/0.7493, allocations: 22.22 kB / 0.812 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 3.588e-05/0.7494, allocations: 22.75 kB / 0.812 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 7.92e-05/0.7494, allocations: 75.75 kB / 0.8121 GB, free: 11 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001126/0.7496, allocations: 130.6 kB / 0.8122 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.000273/0.7498, allocations: 298.8 kB / 0.8125 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.7499, allocations: 4 kB / 0.8125 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.883e-06/0.7499, allocations: 0 / 0.8125 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.803e-06/0.7499, allocations: 0 / 0.8125 GB, free: 10.8 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0005026/0.7504, allocations: 0.5049 MB / 0.813 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.7504, allocations: 9.562 kB / 0.813 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.371e-05/0.7505, allocations: 63.16 kB / 0.8131 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.447e-05/0.7505, allocations: 34.81 kB / 0.8131 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003964/0.7509, allocations: 277 kB / 0.8134 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.061e-05/0.751, allocations: 23.47 kB / 0.8134 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.681e-05/0.751, allocations: 21.72 kB / 0.8134 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004021/0.7514, allocations: 318.1 kB / 0.8137 GB, free: 9.859 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.7514, allocations: 2.844 kB / 0.8137 GB, free: 9.859 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.135e-05/0.7515, allocations: 12.03 kB / 0.8137 GB, free: 9.859 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.057e-05/0.7515, allocations: 8.094 kB / 0.8137 GB, free: 9.859 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001979/0.7517, allocations: 152.6 kB / 0.8139 GB, free: 9.816 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001163/0.7528, allocations: 1.824 MB / 0.8157 GB, free: 8.188 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 7.742e-05/0.7529, allocations: 169.1 kB / 0.8158 GB, free: 8.012 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.593e-05/0.753, allocations: 80.14 kB / 0.8159 GB, free: 7.93 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.021e-05/0.753, allocations: 81.25 kB / 0.816 GB, free: 7.852 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.771e-05/0.7531, allocations: 105.8 kB / 0.8161 GB, free: 7.738 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.7531, allocations: 0 / 0.8161 GB, free: 7.738 MB / 0.5919 GB Notification: Performance of matching and sorting (n=0): time 9.347e-05/0.7532, allocations: 61.62 kB / 0.8161 GB, free: 7.688 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.926e-05/0.7532, allocations: 130.6 kB / 0.8163 GB, free: 7.547 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003387/0.7536, allocations: 377.5 kB / 0.8166 GB, free: 7.375 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.085e-05/0.7536, allocations: 28.89 kB / 0.8167 GB, free: 7.344 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001178/0.7537, allocations: 162.6 kB / 0.8168 GB, free: 7.242 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.547e-06/0.7537, allocations: 0 / 0.8168 GB, free: 7.242 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.164e-05/0.7538, allocations: 21.88 kB / 0.8168 GB, free: 7.223 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000117/0.7539, allocations: 340.8 kB / 0.8172 GB, free: 6.898 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.341e-05/0.7539, allocations: 2.25 kB / 0.8172 GB, free: 6.898 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.617e-05/0.7539, allocations: 37.36 kB / 0.8172 GB, free: 6.855 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.936e-05/0.754, allocations: 49 kB / 0.8172 GB, free: 6.809 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/0.754, allocations: 4 kB / 0.8172 GB, free: 6.805 MB / 0.5919 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001356/0.7541, allocations: 87.41 kB / 0.8173 GB, free: 6.746 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.7542, allocations: 4.656 kB / 0.8173 GB, free: 6.746 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.7542, allocations: 2.812 kB / 0.8173 GB, free: 6.746 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.7542, allocations: 0 / 0.8173 GB, free: 6.746 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.726e-05/0.7543, allocations: 14.62 kB / 0.8173 GB, free: 6.742 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.7543, allocations: 2.719 kB / 0.8173 GB, free: 6.742 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.465e-05/0.7543, allocations: 29.78 kB / 0.8174 GB, free: 6.723 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/0.7544, allocations: 3.469 kB / 0.8174 GB, free: 6.723 MB / 0.5919 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.0001288/0.7545, allocations: 214.5 kB / 0.8176 GB, free: 6.527 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.032e-05/0.7546, allocations: 132.3 kB / 0.8177 GB, free: 6.406 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.57e-05/0.7546, allocations: 132.6 kB / 0.8178 GB, free: 6.285 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-05/0.7547, allocations: 179.6 kB / 0.818 GB, free: 6.105 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.92e-05/0.7548, allocations: 180.2 kB / 0.8182 GB, free: 5.922 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-05/0.7548, allocations: 183 kB / 0.8184 GB, free: 5.738 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002733/0.7551, allocations: 485 kB / 0.8188 GB, free: 5.266 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-05/0.7551, allocations: 111.6 kB / 0.8189 GB, free: 5.152 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.464e-05/0.7552, allocations: 105 kB / 0.819 GB, free: 5.043 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.337e-05/0.7553, allocations: 184.2 kB / 0.8192 GB, free: 4.859 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.19e-05/0.7553, allocations: 190.3 kB / 0.8194 GB, free: 4.668 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.474e-05/0.7554, allocations: 180.3 kB / 0.8196 GB, free: 4.484 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.413e-05/0.7554, allocations: 183 kB / 0.8197 GB, free: 4.301 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001362/0.7556, allocations: 329.2 kB / 0.82 GB, free: 3.973 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001065/0.7557, allocations: 213 kB / 0.8202 GB, free: 3.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.422e-05/0.7558, allocations: 182.4 kB / 0.8204 GB, free: 3.566 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.896e-05/0.7559, allocations: 108.1 kB / 0.8205 GB, free: 3.457 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.044e-05/0.756, allocations: 179.5 kB / 0.8207 GB, free: 3.277 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.37e-05/0.756, allocations: 108.9 kB / 0.8208 GB, free: 3.164 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002271/0.7562, allocations: 269.5 kB / 0.8211 GB, free: 3.051 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7562, allocations: 0 / 0.8211 GB, free: 3.051 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002376/0.7565, allocations: 31.22 kB / 0.8211 GB, free: 3.047 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.0003497/0.7568, allocations: 0.8324 MB / 0.8219 GB, free: 2.223 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 7.551e-05/0.7569, allocations: 21.45 kB / 0.8219 GB, free: 2.215 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.7569, allocations: 320 / 0.8219 GB, free: 2.215 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.253e-06/0.7569, allocations: 4 kB / 0.8219 GB, free: 2.211 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007389/0.7577, allocations: 0.5574 MB / 0.8225 GB, free: 1.723 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002503/0.7602, allocations: 2.678 MB / 0.8251 GB, free: 0 / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003485/0.7605, allocations: 0.7507 MB / 0.8258 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 9.06e-05/0.7606, allocations: 35.06 kB / 0.8258 GB, free: 15.26 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.63e-05/0.7607, allocations: 76.56 kB / 0.8259 GB, free: 15.25 MB / 0.6075 GB Notification: Performance of SimCode: time 3.21e-07/0.7607, allocations: 0 / 0.8259 GB, free: 15.25 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02149/0.7822, allocations: 6.001 MB / 0.8318 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.567/8.349, allocations: 17.72 kB / 0.8318 GB, free: 12.26 MB / 0.6075 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.fmu > IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1)