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.001126/0.001126, allocations: 104.9 kB / 16.27 MB, free: 5.93 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.00116/0.00116, allocations: 187.4 kB / 17.2 MB, free: 5.574 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.217/1.217, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6768/0.6768, allocations: 122.9 MB / 413.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001152/0.001152, allocations: 59.91 kB / 0.4912 GB, free: 7.371 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2733/0.2745, allocations: 77.92 MB / 0.5673 GB, free: 32.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.153/0.4275, allocations: 174 MB / 0.7372 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008754/0.4363, allocations: 9.515 MB / 0.7465 GB, free: 2.652 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002413/0.4365, allocations: 7.938 kB / 0.7465 GB, free: 2.645 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000484/0.437, allocations: 190.7 kB / 0.7467 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002493/0.4374, allocations: 99.3 kB / 0.7468 GB, free: 2.359 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001788/0.4375, allocations: 63.91 kB / 0.7469 GB, free: 2.297 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003594/0.4379, allocations: 330.6 kB / 0.7472 GB, free: 1.973 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003203/0.4382, allocations: 204.8 kB / 0.7474 GB, free: 1.77 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002934/0.4385, allocations: 163.4 kB / 0.7476 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001442/0.4387, allocations: 123.4 kB / 0.7477 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.291e-05/0.4387, allocations: 24 kB / 0.7477 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 3.751e-05/0.4388, allocations: 24 kB / 0.7477 GB, free: 1.441 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.402e-05/0.4389, allocations: 71.77 kB / 0.7478 GB, free: 1.371 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000115/0.439, allocations: 131.3 kB / 0.7479 GB, free: 1.242 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002427/0.4392, allocations: 271.1 kB / 0.7482 GB, free: 0.9766 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.4392, allocations: 0 / 0.7482 GB, free: 0.9766 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.382e-06/0.4392, allocations: 0 / 0.7482 GB, free: 0.9766 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.772e-06/0.4393, allocations: 0 / 0.7482 GB, free: 0.9766 MB / 0.5762 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.0005767/0.4398, allocations: 0.5145 MB / 0.7487 GB, free: 424 kB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.4399, allocations: 12.56 kB / 0.7487 GB, free: 412 kB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.058e-05/0.44, allocations: 70.47 kB / 0.7487 GB, free: 332 kB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.278e-05/0.44, allocations: 31.66 kB / 0.7488 GB, free: 300 kB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1856/0.6256, allocations: 273.9 kB / 0.749 GB, free: 175.4 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.757e-05/0.6257, allocations: 17.69 kB / 0.7491 GB, free: 175.4 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.783e-05/0.6257, allocations: 25.56 kB / 0.7491 GB, free: 175.4 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004053/0.6261, allocations: 318.8 kB / 0.7494 GB, free: 175.2 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.6261, allocations: 2.844 kB / 0.7494 GB, free: 175.2 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.848e-05/0.6262, allocations: 11.69 kB / 0.7494 GB, free: 175.2 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/0.6262, allocations: 8.375 kB / 0.7494 GB, free: 175.2 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002016/0.6264, allocations: 147.3 kB / 0.7495 GB, free: 175.1 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008444/0.6272, allocations: 1.811 MB / 0.7513 GB, free: 173.5 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 3.384e-05/0.6273, allocations: 170.5 kB / 0.7515 GB, free: 173.4 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.312e-05/0.6273, allocations: 81.39 kB / 0.7516 GB, free: 173.3 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.013e-05/0.6273, allocations: 80.67 kB / 0.7516 GB, free: 173.2 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.67e-05/0.6273, allocations: 107.1 kB / 0.7517 GB, free: 173.1 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 1.393e-06/0.6273, allocations: 1.781 kB / 0.7517 GB, free: 173.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 7.411e-05/0.6274, allocations: 62.44 kB / 0.7518 GB, free: 173 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.405e-05/0.6274, allocations: 128.6 kB / 0.7519 GB, free: 172.9 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000332/0.6278, allocations: 372.8 kB / 0.7523 GB, free: 172.7 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.599e-06/0.6278, allocations: 27.95 kB / 0.7523 GB, free: 172.7 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.816e-05/0.6279, allocations: 164.7 kB / 0.7525 GB, free: 172.5 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.535e-06/0.6279, allocations: 0.6562 kB / 0.7525 GB, free: 172.5 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.737e-05/0.6279, allocations: 23.05 kB / 0.7525 GB, free: 172.5 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.968e-05/0.628, allocations: 340.7 kB / 0.7528 GB, free: 172.2 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.327e-05/0.628, allocations: 3.266 kB / 0.7528 GB, free: 172.2 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.846e-05/0.628, allocations: 39.88 kB / 0.7528 GB, free: 172.2 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.914e-05/0.628, allocations: 46.34 kB / 0.7529 GB, free: 172.1 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.6281, allocations: 3.938 kB / 0.7529 GB, free: 172.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001209/0.6282, allocations: 81.27 kB / 0.753 GB, free: 172.1 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.6282, allocations: 5.5 kB / 0.753 GB, free: 172.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.6282, allocations: 8.859 kB / 0.753 GB, free: 172.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.6282, allocations: 1.5 kB / 0.753 GB, free: 172.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.232e-05/0.6283, allocations: 12.14 kB / 0.753 GB, free: 172 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.99e-06/0.6283, allocations: 2.078 kB / 0.753 GB, free: 172 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.994e-05/0.6284, allocations: 32.47 kB / 0.753 GB, free: 172 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.269e-06/0.6284, allocations: 2.406 kB / 0.753 GB, free: 172 MB / 0.5762 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 7.489e-05/0.6284, allocations: 213.2 kB / 0.7532 GB, free: 171.8 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.647e-05/0.6285, allocations: 125.7 kB / 0.7534 GB, free: 171.7 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.983e-05/0.6285, allocations: 140.9 kB / 0.7535 GB, free: 171.6 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.538e-05/0.6286, allocations: 177.8 kB / 0.7537 GB, free: 171.4 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.849e-05/0.6286, allocations: 183.5 kB / 0.7538 GB, free: 171.2 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.659e-05/0.6286, allocations: 178.6 kB / 0.754 GB, free: 171 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001862/0.6288, allocations: 488.2 kB / 0.7545 GB, free: 170.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.078e-05/0.6288, allocations: 108.3 kB / 0.7546 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.025e-05/0.6288, allocations: 104.9 kB / 0.7547 GB, free: 170.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.765e-05/0.6289, allocations: 183 kB / 0.7548 GB, free: 170.2 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.897e-05/0.6289, allocations: 185.8 kB / 0.755 GB, free: 170 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.542e-05/0.6289, allocations: 178.5 kB / 0.7552 GB, free: 169.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.757e-05/0.6289, allocations: 186.8 kB / 0.7554 GB, free: 169.6 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.254e-05/0.629, allocations: 335.3 kB / 0.7557 GB, free: 169.3 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.436e-05/0.629, allocations: 207.1 kB / 0.7559 GB, free: 169.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.393e-05/0.6291, allocations: 183.2 kB / 0.7561 GB, free: 168.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.227e-05/0.6292, allocations: 106.8 kB / 0.7562 GB, free: 168.8 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.965e-05/0.6292, allocations: 180.7 kB / 0.7563 GB, free: 168.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.989e-06/0.6292, allocations: 106.8 kB / 0.7564 GB, free: 168.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002292/0.6294, allocations: 271.8 kB / 0.7567 GB, free: 168.4 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6294, allocations: 3.938 kB / 0.7567 GB, free: 168.3 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002361/0.6297, allocations: 28.22 kB / 0.7567 GB, free: 168.3 MB / 0.5762 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.0001701/0.6299, allocations: 0.8391 MB / 0.7576 GB, free: 167.5 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 6.089e-05/0.6299, allocations: 16.11 kB / 0.7576 GB, free: 167.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.6299, allocations: 0 / 0.7576 GB, free: 167.5 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.994e-06/0.6299, allocations: 4.906 kB / 0.7576 GB, free: 167.5 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00064/0.6306, allocations: 0.5537 MB / 0.7581 GB, free: 167 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002048/0.6326, allocations: 2.711 MB / 0.7608 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001556/0.6328, allocations: 0.7541 MB / 0.7615 GB, free: 164.5 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 9.22e-05/0.6329, allocations: 31.36 kB / 0.7615 GB, free: 164.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.973e-05/0.633, allocations: 73.66 kB / 0.7616 GB, free: 164.4 MB / 0.5762 GB Notification: Performance of SimCode: time 2.11e-07/0.633, allocations: 0 / 0.7616 GB, free: 164.4 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6707/1.304, allocations: 5.85 MB / 0.7673 GB, free: 163.2 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.06/11.37, allocations: 6.766 kB / 0.7673 GB, free: 163.2 MB / 0.5762 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)