Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.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.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_IDEAS_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_IDEAS_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",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.001762/0.001762, allocations: 103.4 kB / 15.34 MB, free: 0.5039 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.00245/0.00245, allocations: 192 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.112/2.112, allocations: 222.9 MB / 239.9 MB, free: 4.496 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.153/1.153, allocations: 135.1 MB / 425.2 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002394/0.002394, allocations: 60.03 kB / 0.505 GB, free: 5.488 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1907/0.1931, allocations: 80.93 MB / 0.584 GB, free: 4.727 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.5128/0.7059, allocations: 145.7 MB / 0.7263 GB, free: 3.105 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0001667/0.7062, allocations: 55.95 kB / 0.7264 GB, free: 3.07 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.922e-05/0.7062, allocations: 1.031 kB / 0.7264 GB, free: 3.07 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001233/0.7063, allocations: 4.75 kB / 0.7264 GB, free: 3.066 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.899e-05/0.7065, allocations: 11.58 kB / 0.7264 GB, free: 3.062 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005836/0.7071, allocations: 96 kB / 0.7265 GB, free: 3.023 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000114/0.7072, allocations: 41.75 kB / 0.7265 GB, free: 3.004 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.765e-05/0.7073, allocations: 2.859 kB / 0.7265 GB, free: 3.004 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.734e-05/0.7073, allocations: 15.19 kB / 0.7265 GB, free: 3 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.409e-05/0.7074, allocations: 17.91 kB / 0.7265 GB, free: 2.992 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.526e-05/0.7074, allocations: 1.125 kB / 0.7265 GB, free: 2.992 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003224/0.7078, allocations: 77.2 kB / 0.7266 GB, free: 2.965 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.561e-05/0.7078, allocations: 13.92 kB / 0.7266 GB, free: 2.957 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.746e-05/0.7079, allocations: 10.86 kB / 0.7266 GB, free: 2.953 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002299/0.7081, allocations: 69.89 kB / 0.7267 GB, free: 2.941 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 9.698e-06/0.7081, allocations: 4.703 kB / 0.7267 GB, free: 2.938 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.245e-06/0.7081, allocations: 4 kB / 0.7267 GB, free: 2.934 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.58e-06/0.7082, allocations: 3.125 kB / 0.7267 GB, free: 2.934 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005077/0.7087, allocations: 344.7 kB / 0.727 GB, free: 2.57 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.7087, allocations: 9.062 kB / 0.7271 GB, free: 2.57 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.309e-05/0.7088, allocations: 32.61 kB / 0.7271 GB, free: 2.531 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002729/0.7091, allocations: 19.72 kB / 0.7271 GB, free: 2.531 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001171/0.7092, allocations: 166.4 kB / 0.7273 GB, free: 2.332 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.832e-05/0.7093, allocations: 35.75 kB / 0.7273 GB, free: 2.293 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.925e-05/0.7093, allocations: 1.641 kB / 0.7273 GB, free: 2.293 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001709/0.7095, allocations: 46.97 kB / 0.7273 GB, free: 2.258 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.293e-06/0.7095, allocations: 0 / 0.7273 GB, free: 2.258 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.7095, allocations: 1.859 kB / 0.7273 GB, free: 2.258 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.015e-05/0.7095, allocations: 3.062 kB / 0.7274 GB, free: 2.258 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.867e-05/0.7096, allocations: 17.44 kB / 0.7274 GB, free: 2.254 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004405/0.7101, allocations: 269.7 kB / 0.7276 GB, free: 1.969 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 4.137e-05/0.7101, allocations: 15.86 kB / 0.7276 GB, free: 1.945 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.112e-05/0.7101, allocations: 6.906 kB / 0.7276 GB, free: 1.938 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 6.052e-06/0.7102, allocations: 0 / 0.7276 GB, free: 1.938 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.001e-05/0.7102, allocations: 36.64 kB / 0.7277 GB, free: 1.895 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.7102, allocations: 0 / 0.7277 GB, free: 1.895 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001518/0.7104, allocations: 40.75 kB / 0.7277 GB, free: 1.855 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.966e-05/0.7104, allocations: 59.28 kB / 0.7278 GB, free: 1.785 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.613e-05/0.7105, allocations: 105.7 kB / 0.7279 GB, free: 1.684 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/0.7105, allocations: 29.64 kB / 0.7279 GB, free: 1.648 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.206e-05/0.7106, allocations: 91.55 kB / 0.728 GB, free: 1.559 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.677e-06/0.7106, allocations: 9.062 kB / 0.728 GB, free: 1.551 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.109e-05/0.7107, allocations: 14.41 kB / 0.728 GB, free: 1.535 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.7108, allocations: 320.7 kB / 0.7283 GB, free: 1.215 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.272e-05/0.7108, allocations: 3.625 kB / 0.7283 GB, free: 1.215 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.806e-05/0.7108, allocations: 26.2 kB / 0.7284 GB, free: 1.188 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.232e-05/0.7109, allocations: 35.14 kB / 0.7284 GB, free: 1.152 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.7109, allocations: 1.281 kB / 0.7284 GB, free: 1.152 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000124/0.711, allocations: 57.02 kB / 0.7284 GB, free: 1.109 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/0.7111, allocations: 4.438 kB / 0.7284 GB, free: 1.109 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.7111, allocations: 1.969 kB / 0.7284 GB, free: 1.109 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.97e-05/0.7111, allocations: 1 kB / 0.7284 GB, free: 1.109 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.433e-05/0.7112, allocations: 7.625 kB / 0.7285 GB, free: 1.109 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.225e-05/0.7112, allocations: 3.938 kB / 0.7285 GB, free: 1.105 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.422e-05/0.7113, allocations: 2.031 kB / 0.7285 GB, free: 1.105 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.413e-05/0.7113, allocations: 7.141 kB / 0.7285 GB, free: 1.102 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001111/0.7115, allocations: 112.7 kB / 0.7286 GB, free: 0.9844 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.441e-05/0.7115, allocations: 5.094 kB / 0.7286 GB, free: 0.9805 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.958e-05/0.7116, allocations: 4.828 kB / 0.7286 GB, free: 0.9805 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.7116, allocations: 4.594 kB / 0.7286 GB, free: 0.9766 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/0.7116, allocations: 5.531 kB / 0.7286 GB, free: 0.9727 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.7116, allocations: 0 / 0.7286 GB, free: 0.9727 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004247/0.7121, allocations: 341.3 kB / 0.7289 GB, free: 0.5938 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.7121, allocations: 1.062 kB / 0.7289 GB, free: 0.5938 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.205e-05/0.7121, allocations: 6.938 kB / 0.7289 GB, free: 0.5898 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.075e-06/0.7121, allocations: 5.25 kB / 0.7289 GB, free: 0.5859 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.7122, allocations: 5.031 kB / 0.7289 GB, free: 0.582 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.7122, allocations: 0 / 0.7289 GB, free: 0.582 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.7122, allocations: 0.875 kB / 0.7289 GB, free: 0.582 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000111/0.7123, allocations: 57.41 kB / 0.729 GB, free: 0.5156 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.225e-05/0.7124, allocations: 82.94 kB / 0.7291 GB, free: 428 kB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.468e-05/0.7124, allocations: 1.188 kB / 0.7291 GB, free: 428 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001331/0.7125, allocations: 8.125 kB / 0.7291 GB, free: 424 kB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.343e-05/0.7126, allocations: 1.906 kB / 0.7291 GB, free: 424 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.006e-05/0.7126, allocations: 4 kB / 0.7291 GB, free: 420 kB / 0.545 GB Notification: Performance of sorting global known variables: time 7.043e-05/0.7127, allocations: 90.34 kB / 0.7292 GB, free: 340 kB / 0.545 GB Notification: Performance of sort global known variables: time 5.31e-07/0.7127, allocations: 0 / 0.7292 GB, free: 340 kB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003587/0.7131, allocations: 6.5 kB / 0.7292 GB, free: 340 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 (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005043/0.7136, allocations: 0.6006 MB / 0.7298 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001225/0.7137, allocations: 17.11 kB / 0.7298 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.7138, allocations: 1.062 kB / 0.7298 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.065e-05/0.7138, allocations: 2.438 kB / 0.7298 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003801/0.7142, allocations: 3.5 kB / 0.7298 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005605/0.7147, allocations: 153.8 kB / 0.7299 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005297/0.7153, allocations: 0.6766 MB / 0.7306 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 8.995e-05/0.7154, allocations: 6.047 kB / 0.7306 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.672e-05/0.7154, allocations: 9.094 kB / 0.7306 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of SimCode: time 3.11e-07/0.7155, allocations: 0 / 0.7306 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.321/2.036, allocations: 1.26 MB / 0.7318 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003612/2.037, allocations: 222.4 kB / 0.7321 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.558/6.595, allocations: 0 / 0.7321 GB, free: 14.44 MB / 0.5606 GB (rm -f IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.fmu > IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)