Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/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.InletToAirDryAirCO2,fileNamePrefix="IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,fileNamePrefix="IDEAS_IDEAS_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.001539/0.001539, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.001999/0.001999, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.257/2.257, allocations: 223.2 MB / 239.9 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8615/0.8615, allocations: 132.3 MB / 423.2 MB, free: 2.18 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005172/0.0005172, allocations: 8 kB / 0.5033 GB, free: 4.234 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.687/0.6875, allocations: 81.58 MB / 0.583 GB, free: 4.043 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.2746/0.9622, allocations: 125.4 MB / 0.7054 GB, free: 2.953 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.008102/0.9704, allocations: 3.968 MB / 0.7093 GB, free: 14.97 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005808/0.9711, allocations: 15.88 kB / 0.7093 GB, free: 14.95 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004133/0.9715, allocations: 47.67 kB / 0.7094 GB, free: 14.91 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0006786/0.9722, allocations: 135.6 kB / 0.7095 GB, free: 14.77 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002763/0.9725, allocations: 51.89 kB / 0.7095 GB, free: 14.72 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0007891/0.9733, allocations: 247.4 kB / 0.7098 GB, free: 14.48 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004007/0.9737, allocations: 106.4 kB / 0.7099 GB, free: 14.38 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002601/0.974, allocations: 79.69 kB / 0.7099 GB, free: 14.3 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002776/0.9743, allocations: 111.5 kB / 0.71 GB, free: 14.19 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.522e-05/0.9743, allocations: 8 kB / 0.7101 GB, free: 14.18 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 3.407e-05/0.9744, allocations: 4 kB / 0.7101 GB, free: 14.18 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001022/0.9745, allocations: 47.83 kB / 0.7101 GB, free: 14.13 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001298/0.9746, allocations: 65.58 kB / 0.7102 GB, free: 14.06 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002988/0.975, allocations: 169.8 kB / 0.7103 GB, free: 13.89 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.975, allocations: 0 / 0.7103 GB, free: 13.89 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.953e-06/0.975, allocations: 0 / 0.7103 GB, free: 13.89 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.073e-05/0.975, allocations: 0 / 0.7103 GB, free: 13.89 MB / 0.545 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.0008143/0.9758, allocations: 459 kB / 0.7108 GB, free: 13.4 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.317e-05/0.9759, allocations: 8.031 kB / 0.7108 GB, free: 13.39 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001106/0.976, allocations: 58.55 kB / 0.7108 GB, free: 13.32 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.45e-05/0.9761, allocations: 23.72 kB / 0.7109 GB, free: 13.3 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000514/0.9767, allocations: 258.5 kB / 0.7111 GB, free: 13.01 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.231e-05/0.9767, allocations: 16.44 kB / 0.7111 GB, free: 12.99 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.826e-05/0.9768, allocations: 20 kB / 0.7111 GB, free: 12.97 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007347/0.9775, allocations: 296.9 kB / 0.7114 GB, free: 12.62 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.961e-05/0.9775, allocations: 3.953 kB / 0.7114 GB, free: 12.62 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.742e-05/0.9776, allocations: 16 kB / 0.7114 GB, free: 12.61 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.9e-05/0.9776, allocations: 8 kB / 0.7114 GB, free: 12.6 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003337/0.978, allocations: 123.7 kB / 0.7116 GB, free: 12.48 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002362/0.9803, allocations: 1.965 MB / 0.7135 GB, free: 10.4 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001624/0.9805, allocations: 169.1 kB / 0.7136 GB, free: 10.23 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 5.334e-05/0.9806, allocations: 75.28 kB / 0.7137 GB, free: 10.15 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.801e-05/0.9807, allocations: 117.8 kB / 0.7138 GB, free: 10.03 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 2.144e-06/0.9807, allocations: 0 / 0.7138 GB, free: 10.03 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 0.0001388/0.9809, allocations: 49.36 kB / 0.7139 GB, free: 9.973 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.866e-05/0.981, allocations: 130.7 kB / 0.714 GB, free: 9.832 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006065/0.9816, allocations: 328.5 kB / 0.7143 GB, free: 9.508 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.5e-05/0.9816, allocations: 29.69 kB / 0.7143 GB, free: 9.473 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001983/0.9818, allocations: 155.7 kB / 0.7145 GB, free: 9.316 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.198e-06/0.9819, allocations: 0 / 0.7145 GB, free: 9.316 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.023e-05/0.9819, allocations: 7.938 kB / 0.7145 GB, free: 9.309 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002448/0.9821, allocations: 338.8 kB / 0.7148 GB, free: 8.969 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.348e-05/0.9822, allocations: 8 kB / 0.7148 GB, free: 8.961 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001101/0.9823, allocations: 58.86 kB / 0.7149 GB, free: 8.879 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.971e-05/0.9824, allocations: 15.94 kB / 0.7149 GB, free: 8.863 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.9824, allocations: 4 kB / 0.7149 GB, free: 8.859 MB / 0.545 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000329/0.9828, allocations: 97.28 kB / 0.715 GB, free: 8.758 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.029e-05/0.9828, allocations: 4 kB / 0.715 GB, free: 8.754 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.439e-05/0.9828, allocations: 7.984 kB / 0.715 GB, free: 8.746 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.588e-05/0.9829, allocations: 4 kB / 0.715 GB, free: 8.742 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001272/0.983, allocations: 11.94 kB / 0.715 GB, free: 8.73 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.904e-05/0.983, allocations: 8 kB / 0.715 GB, free: 8.723 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001486/0.9832, allocations: 31.88 kB / 0.7151 GB, free: 8.691 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.709e-05/0.9832, allocations: 8 kB / 0.7151 GB, free: 8.684 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000251/0.9835, allocations: 209.1 kB / 0.7153 GB, free: 8.469 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001502/0.9836, allocations: 132.6 kB / 0.7154 GB, free: 8.332 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001109/0.9838, allocations: 122 kB / 0.7155 GB, free: 8.207 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001087/0.9839, allocations: 184.2 kB / 0.7157 GB, free: 8.02 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001149/0.984, allocations: 184.3 kB / 0.7159 GB, free: 7.832 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.581e-05/0.9841, allocations: 176.3 kB / 0.716 GB, free: 7.652 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005171/0.9847, allocations: 481 kB / 0.7165 GB, free: 7.125 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.825e-05/0.9847, allocations: 109 kB / 0.7166 GB, free: 7.012 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.26e-05/0.9848, allocations: 109 kB / 0.7167 GB, free: 6.898 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.466e-05/0.9849, allocations: 176.3 kB / 0.7169 GB, free: 6.719 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.437e-05/0.985, allocations: 180.3 kB / 0.717 GB, free: 6.535 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001054/0.9851, allocations: 188.2 kB / 0.7172 GB, free: 6.344 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.642e-05/0.9853, allocations: 176.3 kB / 0.7174 GB, free: 6.164 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002558/0.9855, allocations: 327.5 kB / 0.7177 GB, free: 5.82 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001988/0.9857, allocations: 217.7 kB / 0.7179 GB, free: 5.582 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00016/0.9859, allocations: 180.3 kB / 0.7181 GB, free: 5.398 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001836/0.9861, allocations: 101 kB / 0.7182 GB, free: 5.293 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/0.9862, allocations: 184.2 kB / 0.7183 GB, free: 5.105 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.632e-05/0.9863, allocations: 101 kB / 0.7184 GB, free: 5 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000452/0.9868, allocations: 239 kB / 0.7187 GB, free: 4.77 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9868, allocations: 4 kB / 0.7187 GB, free: 4.766 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0005143/0.9873, allocations: 27.94 kB / 0.7187 GB, free: 4.738 MB / 0.545 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.000704/0.988, allocations: 0.8318 MB / 0.7195 GB, free: 3.875 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001403/0.9882, allocations: 24.06 kB / 0.7195 GB, free: 3.852 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.9882, allocations: 0 / 0.7195 GB, free: 3.852 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.986e-06/0.9882, allocations: 4 kB / 0.7195 GB, free: 3.848 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001141/0.9894, allocations: 0.5897 MB / 0.7201 GB, free: 3.254 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003554/0.9929, allocations: 2.322 MB / 0.7224 GB, free: 0.8477 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005572/0.9935, allocations: 0.7443 MB / 0.7231 GB, free: 80 kB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002157/0.9938, allocations: 30.28 kB / 0.7231 GB, free: 48 kB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001676/0.994, allocations: 59.47 kB / 0.7232 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of SimCode: time 1.623e-06/0.994, allocations: 0 / 0.7232 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2372/1.231, allocations: 4.434 MB / 0.7275 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003346/1.232, allocations: 175.9 kB / 0.7277 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.95/4.181, allocations: 7.281 kB / 0.7277 GB, free: 11.54 MB / 0.5606 GB (rm -f IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.fmu > IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1) Environment - environmentSimulation: