Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet.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.AirToOutlet,fileNamePrefix="IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_AirToOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet,fileNamePrefix="IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_AirToOutlet",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.001358/0.001358, allocations: 97.97 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.001451/0.001451, 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.215/2.215, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.165/1.165, allocations: 132.2 MB / 423.2 MB, free: 2.191 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005348/0.000535, allocations: 12.56 kB / 0.5033 GB, free: 4.199 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7722/0.7728, allocations: 81.57 MB / 0.583 GB, free: 3.902 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.2646/1.037, allocations: 143 MB / 0.7226 GB, free: 1.191 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008584/1.046, allocations: 5.039 MB / 0.7275 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000407/1.047, allocations: 11.94 kB / 0.7275 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005531/1.047, allocations: 83.58 kB / 0.7276 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0005386/1.048, allocations: 131.6 kB / 0.7277 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007835/1.048, allocations: 207.4 kB / 0.7279 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0007116/1.049, allocations: 311.3 kB / 0.7282 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003281/1.05, allocations: 93.66 kB / 0.7283 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003779/1.05, allocations: 155.4 kB / 0.7285 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002622/1.05, allocations: 103.5 kB / 0.7286 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.894e-05/1.05, allocations: 8 kB / 0.7286 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003698/1.051, allocations: 87.8 kB / 0.7287 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.696e-05/1.051, allocations: 47.89 kB / 0.7287 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 9.7e-05/1.051, allocations: 69.58 kB / 0.7288 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004069/1.051, allocations: 211.4 kB / 0.729 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/1.051, allocations: 0 / 0.729 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.505e-06/1.051, allocations: 0 / 0.729 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.422e-06/1.051, allocations: 0 / 0.729 GB, free: 10.64 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0007353/1.052, allocations: 471.6 kB / 0.7294 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 7.409e-05/1.052, allocations: 12.03 kB / 0.7294 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.719e-05/1.052, allocations: 58.55 kB / 0.7295 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003802/1.053, allocations: 47.64 kB / 0.7295 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004108/1.053, allocations: 258.6 kB / 0.7298 GB, free: 9.719 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001893/1.053, allocations: 131.3 kB / 0.7299 GB, free: 9.562 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.037e-05/1.053, allocations: 27.98 kB / 0.7299 GB, free: 9.535 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000637/1.054, allocations: 282.8 kB / 0.7302 GB, free: 9.219 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/1.054, allocations: 0 / 0.7302 GB, free: 9.219 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.621e-05/1.054, allocations: 12 kB / 0.7302 GB, free: 9.207 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.215e-05/1.054, allocations: 4 kB / 0.7302 GB, free: 9.203 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004512/1.055, allocations: 160.6 kB / 0.7304 GB, free: 9.047 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002031/1.057, allocations: 1.583 MB / 0.7319 GB, free: 7.375 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000117/1.057, allocations: 169.1 kB / 0.7321 GB, free: 7.199 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.407e-05/1.057, allocations: 75.28 kB / 0.7322 GB, free: 7.125 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.203e-05/1.057, allocations: 117.8 kB / 0.7323 GB, free: 7 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 1.353e-06/1.057, allocations: 0 / 0.7323 GB, free: 7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 0.0001204/1.057, allocations: 45.47 kB / 0.7323 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.713e-05/1.057, allocations: 126.7 kB / 0.7324 GB, free: 6.812 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005236/1.058, allocations: 310.6 kB / 0.7327 GB, free: 6.504 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.67e-05/1.058, allocations: 25.7 kB / 0.7328 GB, free: 6.473 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001835/1.058, allocations: 199.1 kB / 0.733 GB, free: 6.273 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.1e-06/1.058, allocations: 4 kB / 0.733 GB, free: 6.27 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.402e-05/1.058, allocations: 4 kB / 0.733 GB, free: 6.266 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001871/1.058, allocations: 326.8 kB / 0.7333 GB, free: 5.938 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000132/1.058, allocations: 35.97 kB / 0.7333 GB, free: 5.902 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002501/1.058, allocations: 162.6 kB / 0.7335 GB, free: 5.684 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001844/1.059, allocations: 63.92 kB / 0.7335 GB, free: 5.621 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/1.059, allocations: 7.938 kB / 0.7335 GB, free: 5.613 MB / 0.5606 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006181/1.059, allocations: 217.5 kB / 0.7337 GB, free: 5.395 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.649e-05/1.059, allocations: 4.062 kB / 0.7337 GB, free: 5.391 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.385e-05/1.059, allocations: 12 kB / 0.7338 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.014e-05/1.059, allocations: 4 kB / 0.7338 GB, free: 5.375 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000238/1.06, allocations: 39.92 kB / 0.7338 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.626e-05/1.06, allocations: 7.984 kB / 0.7338 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002758/1.06, allocations: 31.69 kB / 0.7338 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.508e-05/1.06, allocations: 8 kB / 0.7338 GB, free: 5.289 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0003033/1.06, allocations: 221 kB / 0.734 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001244/1.06, allocations: 128.7 kB / 0.7342 GB, free: 4.93 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.02e-05/1.061, allocations: 129.8 kB / 0.7343 GB, free: 4.797 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.921e-05/1.061, allocations: 176.3 kB / 0.7345 GB, free: 4.617 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.862e-05/1.061, allocations: 180.2 kB / 0.7346 GB, free: 4.434 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.09e-05/1.061, allocations: 180.3 kB / 0.7348 GB, free: 4.25 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004953/1.061, allocations: 485.1 kB / 0.7353 GB, free: 3.719 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.746e-05/1.061, allocations: 113 kB / 0.7354 GB, free: 3.602 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.592e-05/1.061, allocations: 108.9 kB / 0.7355 GB, free: 3.488 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001007/1.062, allocations: 184.2 kB / 0.7357 GB, free: 3.301 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.684e-05/1.062, allocations: 176.3 kB / 0.7358 GB, free: 3.121 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.972e-05/1.062, allocations: 184.2 kB / 0.736 GB, free: 2.934 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.481e-05/1.062, allocations: 180.3 kB / 0.7362 GB, free: 2.75 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002434/1.062, allocations: 323.6 kB / 0.7365 GB, free: 2.41 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001851/1.062, allocations: 205.8 kB / 0.7367 GB, free: 2.184 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001357/1.062, allocations: 184.2 kB / 0.7369 GB, free: 1.996 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001839/1.063, allocations: 101 kB / 0.7369 GB, free: 1.891 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001077/1.063, allocations: 188.3 kB / 0.7371 GB, free: 1.699 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.237e-05/1.063, allocations: 108.9 kB / 0.7372 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000371/1.063, allocations: 213.9 kB / 0.7374 GB, free: 1.375 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.11e-07/1.063, allocations: 0 / 0.7374 GB, free: 1.375 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006137/1.064, allocations: 52 kB / 0.7375 GB, free: 1.324 MB / 0.5606 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.0006955/1.065, allocations: 0.832 MB / 0.7383 GB, free: 476 kB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003511/1.065, allocations: 84.89 kB / 0.7384 GB, free: 392 kB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/1.065, allocations: 0 / 0.7384 GB, free: 392 kB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.949e-06/1.065, allocations: 8.234 kB / 0.7384 GB, free: 384 kB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006773/1.066, allocations: 0.5493 MB / 0.7389 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004322/1.07, allocations: 4.104 MB / 0.7429 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005719/1.071, allocations: 0.7437 MB / 0.7437 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002496/1.071, allocations: 33.94 kB / 0.7437 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001398/1.071, allocations: 59.41 kB / 0.7437 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of SimCode: time 1.453e-06/1.071, allocations: 0 / 0.7437 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02113/1.092, allocations: 3.571 MB / 0.7472 GB, free: 7.316 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002968/1.093, allocations: 176.4 kB / 0.7474 GB, free: 7.074 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.58/3.673, allocations: 0 / 0.7474 GB, free: 7.074 MB / 0.5762 GB (rm -f IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_AirToOutlet_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_AirToOutlet.fmu > IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1) Environment - environmentSimulation: