Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,fileNamePrefix="IDEAS_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.0009814/0.0009814, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.001186/0.001186, allocations: 172.7 kB / 15.95 MB, free: 208 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.437/1.437, allocations: 223.3 MB / 240 MB, free: 5.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7773/0.7773, allocations: 132.3 MB / 423.4 MB, free: 2.066 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003394/0.0003395, allocations: 9.094 kB / 0.5035 GB, free: 4.145 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4583/0.4587, allocations: 81.57 MB / 0.5832 GB, free: 3.984 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.1935/0.6522, allocations: 158.2 MB / 0.7376 GB, free: 1.98 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.009875/0.6621, allocations: 8.779 MB / 0.7462 GB, free: 9.176 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003388/0.6625, allocations: 11.94 kB / 0.7462 GB, free: 9.164 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005874/0.6631, allocations: 131 kB / 0.7463 GB, free: 9.035 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003011/0.6634, allocations: 83.5 kB / 0.7464 GB, free: 8.953 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002144/0.6636, allocations: 47.95 kB / 0.7465 GB, free: 8.906 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004634/0.6641, allocations: 338.5 kB / 0.7468 GB, free: 8.574 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003772/0.6645, allocations: 145 kB / 0.7469 GB, free: 8.43 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003954/0.6649, allocations: 131.5 kB / 0.7471 GB, free: 8.301 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001493/0.6651, allocations: 79.52 kB / 0.7471 GB, free: 8.223 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.691e-05/0.6651, allocations: 8 kB / 0.7471 GB, free: 8.215 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 2.819e-05/0.6651, allocations: 4 kB / 0.7471 GB, free: 8.211 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 6.163e-05/0.6652, allocations: 55.81 kB / 0.7472 GB, free: 8.156 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 6.573e-05/0.6653, allocations: 73.52 kB / 0.7473 GB, free: 8.078 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002789/0.6655, allocations: 211.4 kB / 0.7475 GB, free: 7.871 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.6656, allocations: 0 / 0.7475 GB, free: 7.871 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.543e-06/0.6656, allocations: 0 / 0.7475 GB, free: 7.871 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.816e-06/0.6656, allocations: 4 kB / 0.7475 GB, free: 7.867 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.0005242/0.6661, allocations: 475 kB / 0.7479 GB, free: 7.355 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.6662, allocations: 8.031 kB / 0.7479 GB, free: 7.348 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.509e-05/0.6662, allocations: 58.55 kB / 0.748 GB, free: 7.281 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.719e-05/0.6663, allocations: 31.72 kB / 0.748 GB, free: 7.25 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003514/0.6667, allocations: 266.5 kB / 0.7483 GB, free: 6.949 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.568e-05/0.6667, allocations: 24.56 kB / 0.7483 GB, free: 6.926 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.451e-05/0.6667, allocations: 31.92 kB / 0.7483 GB, free: 6.895 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004939/0.6672, allocations: 320 kB / 0.7486 GB, free: 6.539 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.6673, allocations: 11.88 kB / 0.7486 GB, free: 6.527 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.586e-05/0.6673, allocations: 12 kB / 0.7487 GB, free: 6.516 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.708e-06/0.6673, allocations: 4 kB / 0.7487 GB, free: 6.512 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002353/0.6676, allocations: 139.8 kB / 0.7488 GB, free: 6.375 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001437/0.669, allocations: 1.816 MB / 0.7506 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 8.982e-05/0.6691, allocations: 173.1 kB / 0.7507 GB, free: 4.281 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.551e-05/0.6691, allocations: 80.14 kB / 0.7508 GB, free: 4.199 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.023e-05/0.6692, allocations: 75.28 kB / 0.7509 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.513e-05/0.6692, allocations: 105.8 kB / 0.751 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.6692, allocations: 3.938 kB / 0.751 GB, free: 4.008 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 9.6e-05/0.6693, allocations: 61.33 kB / 0.751 GB, free: 3.941 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.92e-05/0.6694, allocations: 126.7 kB / 0.7512 GB, free: 3.805 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003685/0.6698, allocations: 369.7 kB / 0.7515 GB, free: 3.441 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.478e-06/0.6698, allocations: 25.7 kB / 0.7515 GB, free: 3.41 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001174/0.6699, allocations: 171.8 kB / 0.7517 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.715e-06/0.6699, allocations: 0 / 0.7517 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.595e-06/0.6699, allocations: 0 / 0.7517 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.6701, allocations: 342.8 kB / 0.752 GB, free: 2.895 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.376e-05/0.6701, allocations: 4 kB / 0.752 GB, free: 2.891 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.732e-05/0.6701, allocations: 36.3 kB / 0.7521 GB, free: 2.84 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.112e-05/0.6702, allocations: 15.92 kB / 0.7521 GB, free: 2.824 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.6702, allocations: 0 / 0.7521 GB, free: 2.824 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001457/0.6703, allocations: 85.34 kB / 0.7522 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.6704, allocations: 4 kB / 0.7522 GB, free: 2.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.6704, allocations: 0 / 0.7522 GB, free: 2.73 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.6704, allocations: 7.938 kB / 0.7522 GB, free: 2.723 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.677e-05/0.6704, allocations: 8 kB / 0.7522 GB, free: 2.715 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.6705, allocations: 112 / 0.7522 GB, free: 2.715 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.688e-05/0.6706, allocations: 35.53 kB / 0.7522 GB, free: 2.68 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.6706, allocations: 4 kB / 0.7522 GB, free: 2.676 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.0001728/0.6707, allocations: 217.2 kB / 0.7524 GB, free: 2.453 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001044/0.6709, allocations: 128.6 kB / 0.7525 GB, free: 2.32 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.813e-05/0.6709, allocations: 130.9 kB / 0.7527 GB, free: 2.184 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001023/0.671, allocations: 180.3 kB / 0.7528 GB, free: 2 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.433e-05/0.6711, allocations: 180.2 kB / 0.753 GB, free: 1.816 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.505e-05/0.6712, allocations: 184.3 kB / 0.7532 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002623/0.6714, allocations: 493 kB / 0.7537 GB, free: 1.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.461e-05/0.6715, allocations: 108.9 kB / 0.7538 GB, free: 0.9766 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.076e-05/0.6715, allocations: 109.2 kB / 0.7539 GB, free: 0.8633 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.911e-05/0.6716, allocations: 184.2 kB / 0.754 GB, free: 0.6758 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.551e-05/0.6716, allocations: 180.3 kB / 0.7542 GB, free: 0.4922 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.905e-05/0.6717, allocations: 184.2 kB / 0.7544 GB, free: 312 kB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-05/0.6717, allocations: 180.3 kB / 0.7546 GB, free: 124 kB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000132/0.6718, allocations: 331.4 kB / 0.7549 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.399e-05/0.6719, allocations: 217.9 kB / 0.7551 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.355e-05/0.672, allocations: 188.2 kB / 0.7553 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.937e-05/0.6721, allocations: 101 kB / 0.7554 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.521e-05/0.6722, allocations: 180.2 kB / 0.7555 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.144e-05/0.6722, allocations: 109 kB / 0.7556 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002373/0.6725, allocations: 267.2 kB / 0.7559 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6725, allocations: 0 / 0.7559 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002537/0.6727, allocations: 31.94 kB / 0.7559 GB, free: 14.65 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 (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.0003631/0.6731, allocations: 0.8357 MB / 0.7567 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 6.556e-05/0.6732, allocations: 11.98 kB / 0.7568 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.6732, allocations: 0 / 0.7568 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 3.797e-06/0.6732, allocations: 4.25 kB / 0.7568 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007892/0.674, allocations: 0.617 MB / 0.7574 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001806/0.6758, allocations: 1.411 MB / 0.7587 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003166/0.6761, allocations: 0.756 MB / 0.7595 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000116/0.6763, allocations: 30.97 kB / 0.7595 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.194e-05/0.6764, allocations: 83.41 kB / 0.7596 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of SimCode: time 3.71e-07/0.6764, allocations: 0 / 0.7596 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01602/0.6924, allocations: 5.469 MB / 0.7649 GB, free: 5.555 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001738/0.6926, allocations: 194.6 kB / 0.7651 GB, free: 5.309 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.718/2.411, allocations: 0 / 0.7651 GB, free: 5.309 MB / 0.5919 GB (rm -f IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.fmu > IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1) Environment - environmentSimulation: