Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.InletToAirDryAirCO2,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,fileNamePrefix="IDEAS_dev_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.001035/0.001035, allocations: 84.38 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.001443/0.001443, 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.424/1.424, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1/1, allocations: 135.3 MB / 426.4 MB, free: 14.34 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005609/0.000561, allocations: 12 kB / 0.5071 GB, free: 5.023 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1872/0.1878, allocations: 82.3 MB / 0.5875 GB, free: 2.898 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.5244/0.7123, allocations: 134.2 MB / 0.7185 GB, free: 11.96 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005212/0.7175, allocations: 4.328 MB / 0.7228 GB, free: 8.91 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003048/0.7179, allocations: 5.594 kB / 0.7228 GB, free: 8.91 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000467/0.7184, allocations: 112.3 kB / 0.7229 GB, free: 8.844 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003332/0.7187, allocations: 78.55 kB / 0.7229 GB, free: 8.797 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001604/0.7189, allocations: 48.94 kB / 0.723 GB, free: 8.77 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004109/0.7193, allocations: 314.2 kB / 0.7233 GB, free: 8.637 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002616/0.7196, allocations: 103.5 kB / 0.7234 GB, free: 8.602 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001878/0.7198, allocations: 90.73 kB / 0.7235 GB, free: 8.562 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002517/0.72, allocations: 129.4 kB / 0.7236 GB, free: 8.512 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.181e-05/0.7201, allocations: 4.812 kB / 0.7236 GB, free: 8.512 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 3.195e-05/0.7201, allocations: 5.344 kB / 0.7236 GB, free: 8.512 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.678e-05/0.7202, allocations: 45.97 kB / 0.7236 GB, free: 8.496 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 8.856e-05/0.7203, allocations: 59.98 kB / 0.7237 GB, free: 8.449 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003106/0.7206, allocations: 168.1 kB / 0.7239 GB, free: 8.41 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.625e-06/0.7206, allocations: 8.5 kB / 0.7239 GB, free: 8.402 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.576e-06/0.7206, allocations: 0 / 0.7239 GB, free: 8.402 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.364e-06/0.7206, allocations: 0 / 0.7239 GB, free: 8.402 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.0006875/0.7213, allocations: 451.4 kB / 0.7243 GB, free: 7.98 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.573e-05/0.7214, allocations: 10.3 kB / 0.7243 GB, free: 7.98 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.622e-05/0.7215, allocations: 55.98 kB / 0.7244 GB, free: 7.93 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.718e-05/0.7216, allocations: 32.2 kB / 0.7244 GB, free: 7.91 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003777/0.722, allocations: 251.5 kB / 0.7246 GB, free: 7.676 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.953e-05/0.722, allocations: 17.38 kB / 0.7247 GB, free: 7.668 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.41e-05/0.722, allocations: 21.69 kB / 0.7247 GB, free: 7.66 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005593/0.7226, allocations: 302.5 kB / 0.725 GB, free: 7.426 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.944e-05/0.7226, allocations: 5.141 kB / 0.725 GB, free: 7.422 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.811e-05/0.7227, allocations: 8.109 kB / 0.725 GB, free: 7.418 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.543e-05/0.7227, allocations: 10.56 kB / 0.725 GB, free: 7.414 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002331/0.7229, allocations: 118.4 kB / 0.7251 GB, free: 7.371 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001894/0.7248, allocations: 1.984 MB / 0.727 GB, free: 5.512 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001267/0.725, allocations: 166.7 kB / 0.7272 GB, free: 5.34 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.985e-05/0.725, allocations: 81.14 kB / 0.7273 GB, free: 5.258 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.976e-05/0.7251, allocations: 75.28 kB / 0.7273 GB, free: 5.184 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.864e-05/0.7252, allocations: 115.3 kB / 0.7275 GB, free: 5.062 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 1.513e-06/0.7252, allocations: 0 / 0.7275 GB, free: 5.062 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 0.0001099/0.7253, allocations: 50.11 kB / 0.7275 GB, free: 5.02 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.889e-05/0.7254, allocations: 131.5 kB / 0.7276 GB, free: 4.879 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004572/0.7259, allocations: 323.2 kB / 0.7279 GB, free: 4.719 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.394e-05/0.7259, allocations: 26.77 kB / 0.728 GB, free: 4.688 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001453/0.726, allocations: 161.5 kB / 0.7281 GB, free: 4.547 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.579e-06/0.7261, allocations: 5.094 kB / 0.7281 GB, free: 4.543 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.52e-06/0.7261, allocations: 4 kB / 0.7281 GB, free: 4.539 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001604/0.7262, allocations: 336.8 kB / 0.7284 GB, free: 4.215 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.266e-05/0.7263, allocations: 9.188 kB / 0.7285 GB, free: 4.211 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.874e-05/0.7263, allocations: 56.88 kB / 0.7285 GB, free: 4.141 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.991e-05/0.7264, allocations: 18.3 kB / 0.7285 GB, free: 4.133 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.7264, allocations: 0 / 0.7285 GB, free: 4.133 MB / 0.545 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002043/0.7266, allocations: 110.5 kB / 0.7286 GB, free: 4.062 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.946e-05/0.7266, allocations: 6.578 kB / 0.7286 GB, free: 4.062 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/0.7266, allocations: 1.406 kB / 0.7286 GB, free: 4.062 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.7267, allocations: 4.328 kB / 0.7286 GB, free: 4.062 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.509e-05/0.7268, allocations: 12.45 kB / 0.7287 GB, free: 4.062 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.7268, allocations: 3.781 kB / 0.7287 GB, free: 4.062 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.776e-05/0.7269, allocations: 23.03 kB / 0.7287 GB, free: 4.047 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.417e-06/0.7269, allocations: 7.875 kB / 0.7287 GB, free: 4.043 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.0001683/0.727, allocations: 217.5 kB / 0.7289 GB, free: 3.836 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001003/0.7272, allocations: 125.5 kB / 0.729 GB, free: 3.719 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.867e-05/0.7272, allocations: 132.8 kB / 0.7291 GB, free: 3.598 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.11e-05/0.7273, allocations: 178 kB / 0.7293 GB, free: 3.418 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-05/0.7274, allocations: 182.2 kB / 0.7295 GB, free: 3.234 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.954e-05/0.7275, allocations: 181.9 kB / 0.7297 GB, free: 3.051 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003536/0.7278, allocations: 481.6 kB / 0.7301 GB, free: 2.578 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.023e-05/0.7279, allocations: 105.8 kB / 0.7302 GB, free: 2.469 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.033e-05/0.7279, allocations: 102.8 kB / 0.7303 GB, free: 2.363 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.363e-05/0.728, allocations: 189.8 kB / 0.7305 GB, free: 2.172 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.826e-05/0.7281, allocations: 178 kB / 0.7307 GB, free: 1.992 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.284e-05/0.7282, allocations: 182.1 kB / 0.7308 GB, free: 1.809 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.504e-05/0.7283, allocations: 186 kB / 0.731 GB, free: 1.621 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001845/0.7285, allocations: 332.1 kB / 0.7313 GB, free: 1.289 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001195/0.7286, allocations: 212.7 kB / 0.7315 GB, free: 1.066 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.802e-05/0.7287, allocations: 182.2 kB / 0.7317 GB, free: 0.8867 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/0.7288, allocations: 110.6 kB / 0.7318 GB, free: 0.7734 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.552e-05/0.7289, allocations: 177.8 kB / 0.732 GB, free: 0.5938 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.501e-05/0.7289, allocations: 107.2 kB / 0.7321 GB, free: 496 kB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002697/0.7292, allocations: 237.9 kB / 0.7323 GB, free: 368 kB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7292, allocations: 0 / 0.7323 GB, free: 368 kB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003046/0.7295, allocations: 25.03 kB / 0.7323 GB, free: 368 kB / 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.0004471/0.7299, allocations: 0.8334 MB / 0.7332 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 8.156e-05/0.73, allocations: 26.84 kB / 0.7332 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.73, allocations: 0.9062 kB / 0.7332 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.223e-06/0.7301, allocations: 0 / 0.7332 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007894/0.7309, allocations: 0.5882 MB / 0.7338 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001863/0.7327, allocations: 1.269 MB / 0.735 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003607/0.7331, allocations: 0.746 MB / 0.7357 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001107/0.7332, allocations: 29.62 kB / 0.7358 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.825e-05/0.7333, allocations: 62.8 kB / 0.7358 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of SimCode: time 3.51e-07/0.7333, allocations: 1.531 kB / 0.7358 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01724/0.7506, allocations: 4.459 MB / 0.7402 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001789/0.7508, allocations: 195.8 kB / 0.7404 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.848/2.598, allocations: 0 / 0.7404 GB, free: 12.41 MB / 0.5606 GB (rm -f IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.fmu > IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1) Environment - environmentSimulation: