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.005013/0.005013, allocations: 100.8 kB / 15.87 MB, free: 6.312 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.001087/0.001087, allocations: 197.4 kB / 16.79 MB, free: 6.242 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.191/1.191, allocations: 222.9 MB / 240.5 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6131/0.6131, allocations: 115.3 MB / 405.9 MB, free: 2.789 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 64.44 kB / 493 MB, free: 6.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1158, allocations: 76.18 MB / 0.5558 GB, free: 10.7 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.3344/0.4502, allocations: 145.8 MB / 0.6982 GB, free: 4.969 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.004056/0.4543, allocations: 4.614 MB / 0.7027 GB, free: 352 kB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001504/0.4545, allocations: 11.94 kB / 0.7027 GB, free: 340 kB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003746/0.4549, allocations: 127.2 kB / 0.7029 GB, free: 212 kB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0002334/0.4551, allocations: 91.48 kB / 0.703 GB, free: 120 kB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001197/0.4553, allocations: 52.61 kB / 0.703 GB, free: 68 kB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003425/0.4556, allocations: 362.8 kB / 0.7034 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002234/0.4558, allocations: 140.1 kB / 0.7035 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001326/0.456, allocations: 99.58 kB / 0.7036 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001796/0.4562, allocations: 155.3 kB / 0.7037 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.203e-05/0.4562, allocations: 12 kB / 0.7037 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 2.856e-05/0.4562, allocations: 12 kB / 0.7038 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 6.714e-05/0.4563, allocations: 67.75 kB / 0.7038 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 9.482e-05/0.4564, allocations: 103.4 kB / 0.7039 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001853/0.4566, allocations: 217.6 kB / 0.7041 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.4566, allocations: 4 kB / 0.7041 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of FrontEnd: time 6.52e-07/0.4566, allocations: 0 / 0.7041 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.4566, allocations: 0 / 0.7041 GB, free: 14.92 MB / 0.5294 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.0004095/0.457, allocations: 495.9 kB / 0.7046 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.4571, allocations: 8.031 kB / 0.7046 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.911e-05/0.4571, allocations: 54.73 kB / 0.7047 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.96e-05/0.4572, allocations: 28.64 kB / 0.7047 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002335/0.4574, allocations: 259.2 kB / 0.7049 GB, free: 14 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.4574, allocations: 16.81 kB / 0.7049 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.21e-05/0.4575, allocations: 16.56 kB / 0.705 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003543/0.4578, allocations: 312.8 kB / 0.7053 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.4579, allocations: 7.922 kB / 0.7053 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.802e-05/0.4579, allocations: 8 kB / 0.7053 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.298e-06/0.4579, allocations: 8 kB / 0.7053 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001663/0.4581, allocations: 123.7 kB / 0.7054 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001079/0.4591, allocations: 1.977 MB / 0.7073 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 7.154e-05/0.4592, allocations: 173.1 kB / 0.7075 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.2e-05/0.4593, allocations: 80.14 kB / 0.7076 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.998e-05/0.4593, allocations: 75.28 kB / 0.7076 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.518e-05/0.4593, allocations: 109.8 kB / 0.7078 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.4593, allocations: 0 / 0.7078 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of matching and sorting (n=0): time 7.524e-05/0.4594, allocations: 53.36 kB / 0.7078 GB, free: 10.87 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.881e-05/0.4595, allocations: 126.7 kB / 0.7079 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003029/0.4598, allocations: 332.5 kB / 0.7082 GB, free: 10.4 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.005e-05/0.4598, allocations: 25.7 kB / 0.7083 GB, free: 10.37 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 9.356e-05/0.4599, allocations: 159.7 kB / 0.7084 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.284e-06/0.4599, allocations: 0 / 0.7084 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.032e-05/0.4599, allocations: 33.61 kB / 0.7084 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001008/0.4601, allocations: 334.8 kB / 0.7088 GB, free: 9.832 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.588e-05/0.4601, allocations: 7.984 kB / 0.7088 GB, free: 9.824 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.72e-05/0.4601, allocations: 54.88 kB / 0.7088 GB, free: 9.746 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.229e-05/0.4602, allocations: 74.73 kB / 0.7089 GB, free: 9.648 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.4602, allocations: 4 kB / 0.7089 GB, free: 9.645 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001372/0.4603, allocations: 97.28 kB / 0.709 GB, free: 9.543 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.4604, allocations: 6.031 kB / 0.709 GB, free: 9.539 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.4604, allocations: 4 kB / 0.709 GB, free: 9.535 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.4604, allocations: 8.75 kB / 0.709 GB, free: 9.527 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.288e-05/0.4605, allocations: 19.92 kB / 0.709 GB, free: 9.508 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.4605, allocations: 4.25 kB / 0.709 GB, free: 9.504 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.664e-05/0.4605, allocations: 31.69 kB / 0.7091 GB, free: 9.473 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.365e-05/0.4606, allocations: 4 kB / 0.7091 GB, free: 9.469 MB / 0.5294 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.0001073/0.4607, allocations: 209.1 kB / 0.7093 GB, free: 9.254 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.05e-05/0.4608, allocations: 128.6 kB / 0.7094 GB, free: 9.121 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.269e-05/0.4608, allocations: 137.8 kB / 0.7095 GB, free: 8.977 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.987e-05/0.4609, allocations: 180.2 kB / 0.7097 GB, free: 8.793 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.719e-05/0.4609, allocations: 194.1 kB / 0.7099 GB, free: 8.598 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.162e-05/0.461, allocations: 176.3 kB / 0.71 GB, free: 8.418 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002522/0.4613, allocations: 473.1 kB / 0.7105 GB, free: 7.898 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.76e-05/0.4613, allocations: 109 kB / 0.7106 GB, free: 7.785 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.94e-05/0.4613, allocations: 108.9 kB / 0.7107 GB, free: 7.672 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.153e-05/0.4614, allocations: 180.3 kB / 0.7109 GB, free: 7.488 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.369e-05/0.4615, allocations: 180.2 kB / 0.7111 GB, free: 7.305 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-05/0.4615, allocations: 184.2 kB / 0.7112 GB, free: 7.117 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.451e-05/0.4616, allocations: 185.3 kB / 0.7114 GB, free: 6.93 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001201/0.4617, allocations: 319.5 kB / 0.7117 GB, free: 6.594 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 9.02e-05/0.4618, allocations: 213.7 kB / 0.7119 GB, free: 6.359 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.671e-05/0.4619, allocations: 184.2 kB / 0.7121 GB, free: 6.172 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.243e-05/0.462, allocations: 101 kB / 0.7122 GB, free: 6.066 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.558e-05/0.462, allocations: 192.1 kB / 0.7124 GB, free: 5.875 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.6e-05/0.4621, allocations: 109 kB / 0.7125 GB, free: 5.762 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002003/0.4623, allocations: 239 kB / 0.7127 GB, free: 5.527 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4623, allocations: 4 kB / 0.7127 GB, free: 5.523 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002347/0.4625, allocations: 27.94 kB / 0.7127 GB, free: 5.496 MB / 0.5294 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.000332/0.4629, allocations: 0.8241 MB / 0.7135 GB, free: 4.645 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 6.788e-05/0.4629, allocations: 31.92 kB / 0.7136 GB, free: 4.613 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.4629, allocations: 0 / 0.7136 GB, free: 4.613 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.082e-06/0.4629, allocations: 0 / 0.7136 GB, free: 4.613 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006571/0.4636, allocations: 0.5869 MB / 0.7141 GB, free: 4.023 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002144/0.4658, allocations: 2.558 MB / 0.7166 GB, free: 1.344 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002585/0.466, allocations: 0.7443 MB / 0.7174 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 7.978e-05/0.4661, allocations: 30.28 kB / 0.7174 GB, free: 0.5391 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.669e-05/0.4662, allocations: 67.36 kB / 0.7175 GB, free: 484 kB / 0.5294 GB Notification: Performance of SimCode: time 2.1e-07/0.4662, allocations: 0 / 0.7175 GB, free: 484 kB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3187/0.7849, allocations: 4.511 MB / 0.7219 GB, free: 12.12 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002266/0.7851, allocations: 210.1 kB / 0.7221 GB, free: 11.87 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.724/2.509, allocations: 0 / 0.7221 GB, free: 11.87 MB / 0.545 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.fmu > IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1)