Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,fileNamePrefix="IDEAS_dev_IDEAS_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.0009679/0.0009676, allocations: 86.8 kB / 15.06 MB, free: 1.09 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.0009503/0.0009505, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.427/1.427, allocations: 223.2 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.012/1.012, allocations: 135.3 MB / 426.4 MB, free: 14.17 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003575/0.0003575, allocations: 8 kB / 0.5071 GB, free: 5.047 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.187/0.1873, allocations: 82.31 MB / 0.5875 GB, free: 2.906 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.5488/0.7362, allocations: 158.2 MB / 0.7419 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01118/0.7474, allocations: 8.777 MB / 0.7505 GB, free: 4.617 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004615/0.7479, allocations: 5.438 kB / 0.7505 GB, free: 4.617 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006612/0.7486, allocations: 132.7 kB / 0.7506 GB, free: 4.508 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003793/0.749, allocations: 80.36 kB / 0.7507 GB, free: 4.441 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002522/0.7492, allocations: 52.98 kB / 0.7508 GB, free: 4.398 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0005103/0.7498, allocations: 332.7 kB / 0.7511 GB, free: 4.211 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003407/0.7501, allocations: 144.6 kB / 0.7512 GB, free: 4.137 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003723/0.7505, allocations: 129.5 kB / 0.7514 GB, free: 4.07 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001632/0.7507, allocations: 90.36 kB / 0.7514 GB, free: 4.016 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.707e-05/0.7507, allocations: 1.969 kB / 0.7514 GB, free: 4.016 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 3.528e-05/0.7507, allocations: 6.062 kB / 0.7514 GB, free: 4.016 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.863e-05/0.7508, allocations: 50.56 kB / 0.7515 GB, free: 3.984 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.123e-05/0.7509, allocations: 74.92 kB / 0.7516 GB, free: 3.926 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002183/0.7511, allocations: 211 kB / 0.7518 GB, free: 3.773 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.7511, allocations: 0 / 0.7518 GB, free: 3.773 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.724e-06/0.7512, allocations: 0 / 0.7518 GB, free: 3.773 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.184e-05/0.7512, allocations: 0 / 0.7518 GB, free: 3.773 MB / 0.5606 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.0005728/0.7517, allocations: 475.8 kB / 0.7522 GB, free: 3.316 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.7518, allocations: 8.812 kB / 0.7522 GB, free: 3.316 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.488e-05/0.7519, allocations: 64.25 kB / 0.7523 GB, free: 3.254 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.934e-05/0.752, allocations: 30.16 kB / 0.7523 GB, free: 3.242 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003523/0.7523, allocations: 266.9 kB / 0.7526 GB, free: 2.973 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.27e-05/0.7524, allocations: 27.58 kB / 0.7526 GB, free: 2.957 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.265e-05/0.7524, allocations: 23.69 kB / 0.7526 GB, free: 2.949 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005098/0.7529, allocations: 321.7 kB / 0.7529 GB, free: 2.691 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.7529, allocations: 0 / 0.7529 GB, free: 2.691 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.509e-05/0.753, allocations: 14.19 kB / 0.7529 GB, free: 2.684 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.102e-05/0.753, allocations: 6.156 kB / 0.7529 GB, free: 2.684 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002421/0.7532, allocations: 139.9 kB / 0.7531 GB, free: 2.613 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001568/0.7548, allocations: 1.815 MB / 0.7549 GB, free: 0.8594 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001003/0.7549, allocations: 172 kB / 0.755 GB, free: 0.6836 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.724e-05/0.755, allocations: 84.08 kB / 0.7551 GB, free: 0.5977 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.834e-05/0.755, allocations: 79.22 kB / 0.7552 GB, free: 0.5195 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.206e-05/0.7551, allocations: 109.9 kB / 0.7553 GB, free: 412 kB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.7551, allocations: 3.938 kB / 0.7553 GB, free: 408 kB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 0.0001166/0.7552, allocations: 60.7 kB / 0.7553 GB, free: 356 kB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.733e-05/0.7553, allocations: 130.7 kB / 0.7555 GB, free: 212 kB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004509/0.7557, allocations: 366 kB / 0.7558 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.18e-05/0.7558, allocations: 25.7 kB / 0.7558 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001421/0.7559, allocations: 170.5 kB / 0.756 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.557e-06/0.7559, allocations: 0 / 0.756 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.759e-06/0.7559, allocations: 0 / 0.756 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001716/0.7561, allocations: 344.6 kB / 0.7563 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.014e-05/0.7561, allocations: 6.828 kB / 0.7563 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.662e-05/0.7562, allocations: 39.3 kB / 0.7564 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.147e-05/0.7562, allocations: 6.156 kB / 0.7564 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.7562, allocations: 0 / 0.7564 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001909/0.7564, allocations: 91.81 kB / 0.7565 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.7565, allocations: 9.219 kB / 0.7565 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.7565, allocations: 0 / 0.7565 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.7565, allocations: 3.375 kB / 0.7565 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.12e-05/0.7566, allocations: 9.828 kB / 0.7565 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.7566, allocations: 3.469 kB / 0.7565 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.066e-05/0.7567, allocations: 29.91 kB / 0.7565 GB, free: 15.31 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.664e-06/0.7567, allocations: 3.688 kB / 0.7565 GB, free: 15.31 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001799/0.7569, allocations: 220.5 kB / 0.7567 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001057/0.757, allocations: 129.3 kB / 0.7569 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.162e-05/0.7571, allocations: 124.7 kB / 0.757 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.913e-05/0.7572, allocations: 183.5 kB / 0.7572 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.053e-05/0.7573, allocations: 180.2 kB / 0.7573 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.183e-05/0.7574, allocations: 180.2 kB / 0.7575 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004181/0.7578, allocations: 496.7 kB / 0.758 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.006e-05/0.7579, allocations: 105 kB / 0.7581 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.725e-05/0.7579, allocations: 106.4 kB / 0.7582 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.577e-05/0.758, allocations: 183.2 kB / 0.7583 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.845e-05/0.7581, allocations: 180.2 kB / 0.7585 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.211e-05/0.7582, allocations: 176.3 kB / 0.7587 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.284e-05/0.7583, allocations: 183.5 kB / 0.7589 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002125/0.7585, allocations: 335 kB / 0.7592 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001771/0.7587, allocations: 216 kB / 0.7594 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001444/0.7589, allocations: 191.8 kB / 0.7596 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001302/0.759, allocations: 105 kB / 0.7597 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001148/0.7591, allocations: 184.2 kB / 0.7598 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.691e-05/0.7592, allocations: 104.5 kB / 0.7599 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003582/0.7595, allocations: 268.1 kB / 0.7602 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.3e-07/0.7595, allocations: 0 / 0.7602 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00032/0.7599, allocations: 28 kB / 0.7602 GB, free: 11.48 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006016/0.7605, allocations: 0.8434 MB / 0.761 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 9.552e-05/0.7606, allocations: 15.94 kB / 0.7611 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.7606, allocations: 0 / 0.7611 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.663e-06/0.7606, allocations: 0 / 0.7611 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009628/0.7616, allocations: 0.6208 MB / 0.7617 GB, free: 9.969 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002211/0.7638, allocations: 1.407 MB / 0.763 GB, free: 8.512 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004068/0.7642, allocations: 0.756 MB / 0.7638 GB, free: 7.73 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001386/0.7644, allocations: 30.97 kB / 0.7638 GB, free: 7.695 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001193/0.7645, allocations: 71.42 kB / 0.7639 GB, free: 7.625 MB / 0.5762 GB Notification: Performance of SimCode: time 7.11e-07/0.7645, allocations: 4 kB / 0.7639 GB, free: 7.621 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0191/0.7836, allocations: 5.484 MB / 0.7692 GB, free: 2.383 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002055/0.7839, allocations: 189 kB / 0.7694 GB, free: 2.145 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.94/2.724, allocations: 0 / 0.7694 GB, free: 2.145 MB / 0.5762 GB (rm -f IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.fmu > IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1) Environment - environmentSimulation: