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: translateModel(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008246/0.0008245, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009392/0.0009394, allocations: 182.8 kB / 16.92 MB, free: 6.922 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.308/1.308, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9145/0.9145, allocations: 135.3 MB / 427.4 MB, free: 14.21 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003227/0.0003228, allocations: 11.98 kB / 0.5082 GB, free: 4.777 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1612/0.1616, allocations: 82.3 MB / 0.5886 GB, free: 2.648 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.4538/0.6154, allocations: 143.7 MB / 0.729 GB, free: 3.883 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0001371/0.6156, allocations: 52.23 kB / 0.729 GB, free: 3.855 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.027e-05/0.6157, allocations: 0 / 0.729 GB, free: 3.855 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001086/0.6158, allocations: 0.6094 kB / 0.729 GB, free: 3.855 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 9.292e-05/0.6159, allocations: 14.38 kB / 0.729 GB, free: 3.848 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005262/0.6164, allocations: 97.31 kB / 0.7291 GB, free: 3.805 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001286/0.6166, allocations: 58.19 kB / 0.7292 GB, free: 3.789 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.435e-05/0.6166, allocations: 2.281 kB / 0.7292 GB, free: 3.789 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.166e-05/0.6167, allocations: 21.56 kB / 0.7292 GB, free: 3.777 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.829e-05/0.6168, allocations: 10.77 kB / 0.7292 GB, free: 3.777 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.249e-05/0.6168, allocations: 1.625 kB / 0.7292 GB, free: 3.777 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003306/0.6171, allocations: 79.58 kB / 0.7293 GB, free: 3.746 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.756e-05/0.6172, allocations: 11.08 kB / 0.7293 GB, free: 3.742 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.28e-05/0.6173, allocations: 39.83 kB / 0.7293 GB, free: 3.703 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001623/0.6174, allocations: 46.3 kB / 0.7294 GB, free: 3.699 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.6174, allocations: 5.156 kB / 0.7294 GB, free: 3.695 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.685e-06/0.6174, allocations: 0 / 0.7294 GB, free: 3.695 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.339e-06/0.6175, allocations: 0 / 0.7294 GB, free: 3.695 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.000436/0.6179, allocations: 331.4 kB / 0.7297 GB, free: 3.34 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.6179, allocations: 9.859 kB / 0.7297 GB, free: 3.34 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002575/0.6182, allocations: 17.02 kB / 0.7297 GB, free: 3.34 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000118/0.6183, allocations: 164.4 kB / 0.7299 GB, free: 3.145 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.14e-05/0.6184, allocations: 36.53 kB / 0.7299 GB, free: 3.105 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.164e-05/0.6184, allocations: 5.125 kB / 0.7299 GB, free: 3.102 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001723/0.6186, allocations: 60.25 kB / 0.73 GB, free: 3.055 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.6186, allocations: 0.6562 kB / 0.73 GB, free: 3.055 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.6187, allocations: 0.6094 kB / 0.73 GB, free: 3.055 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.962e-05/0.6187, allocations: 2.656 kB / 0.73 GB, free: 3.055 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.599e-05/0.6188, allocations: 18.02 kB / 0.73 GB, free: 3.051 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004237/0.6192, allocations: 261.6 kB / 0.7302 GB, free: 2.773 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 3.893e-05/0.6192, allocations: 20.95 kB / 0.7303 GB, free: 2.746 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.029e-05/0.6193, allocations: 10.44 kB / 0.7303 GB, free: 2.734 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 6.522e-06/0.6193, allocations: 3.938 kB / 0.7303 GB, free: 2.73 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.663e-05/0.6193, allocations: 32.72 kB / 0.7303 GB, free: 2.691 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 1.292e-06/0.6193, allocations: 0 / 0.7303 GB, free: 2.691 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001521/0.6195, allocations: 40.23 kB / 0.7303 GB, free: 2.652 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.112e-05/0.6195, allocations: 52.56 kB / 0.7304 GB, free: 2.59 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.795e-05/0.6196, allocations: 109.9 kB / 0.7305 GB, free: 2.484 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.701e-05/0.6197, allocations: 25.7 kB / 0.7305 GB, free: 2.453 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.794e-05/0.6197, allocations: 95.45 kB / 0.7306 GB, free: 2.359 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.193e-06/0.6197, allocations: 4.797 kB / 0.7306 GB, free: 2.355 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.662e-05/0.6198, allocations: 10.78 kB / 0.7306 GB, free: 2.34 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.613e-05/0.6199, allocations: 317.4 kB / 0.7309 GB, free: 2.023 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.207e-05/0.6199, allocations: 12.75 kB / 0.7309 GB, free: 2.016 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.129e-05/0.6199, allocations: 21.23 kB / 0.731 GB, free: 1.992 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.418e-05/0.62, allocations: 26.8 kB / 0.731 GB, free: 1.965 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.62, allocations: 1.594 kB / 0.731 GB, free: 1.965 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.638e-05/0.6201, allocations: 56.17 kB / 0.731 GB, free: 1.922 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.6201, allocations: 6 kB / 0.7311 GB, free: 1.922 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.6201, allocations: 5.031 kB / 0.7311 GB, free: 1.918 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.6202, allocations: 1 kB / 0.7311 GB, free: 1.918 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.222e-05/0.6202, allocations: 8.922 kB / 0.7311 GB, free: 1.918 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.365e-06/0.6202, allocations: 4.969 kB / 0.7311 GB, free: 1.914 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.162e-05/0.6203, allocations: 1.062 kB / 0.7311 GB, free: 1.914 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-06/0.6203, allocations: 2 kB / 0.7311 GB, free: 1.914 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 7.865e-05/0.6204, allocations: 117.5 kB / 0.7312 GB, free: 1.793 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.891e-05/0.6204, allocations: 2.125 kB / 0.7312 GB, free: 1.793 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.528e-05/0.6204, allocations: 8.891 kB / 0.7312 GB, free: 1.789 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.6205, allocations: 0 / 0.7312 GB, free: 1.789 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.6205, allocations: 4.688 kB / 0.7312 GB, free: 1.785 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.6205, allocations: 1.031 kB / 0.7312 GB, free: 1.785 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002553/0.6207, allocations: 344.7 kB / 0.7315 GB, free: 1.402 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.6207, allocations: 3.562 kB / 0.7315 GB, free: 1.402 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.691e-05/0.6208, allocations: 1.953 kB / 0.7315 GB, free: 1.402 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.6208, allocations: 8.938 kB / 0.7315 GB, free: 1.395 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-06/0.6208, allocations: 0 / 0.7315 GB, free: 1.395 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.6208, allocations: 1.703 kB / 0.7315 GB, free: 1.395 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.6208, allocations: 0 / 0.7315 GB, free: 1.395 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.611e-05/0.6209, allocations: 65.58 kB / 0.7316 GB, free: 1.32 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.998e-05/0.6209, allocations: 79.66 kB / 0.7317 GB, free: 1.227 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.682e-05/0.621, allocations: 4.969 kB / 0.7317 GB, free: 1.223 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.976e-05/0.621, allocations: 8.953 kB / 0.7317 GB, free: 1.219 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.674e-05/0.6211, allocations: 1.797 kB / 0.7317 GB, free: 1.219 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.883e-06/0.6211, allocations: 3.938 kB / 0.7317 GB, free: 1.215 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.796e-05/0.6211, allocations: 90.48 kB / 0.7318 GB, free: 1.133 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6211, allocations: 0 / 0.7318 GB, free: 1.133 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001931/0.6213, allocations: 6.188 kB / 0.7318 GB, free: 1.133 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 (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 9.429e-05/0.6214, allocations: 96.92 kB / 0.7319 GB, free: 1.047 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 8.011e-05/0.6215, allocations: 17.86 kB / 0.7319 GB, free: 1.039 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.6215, allocations: 1.062 kB / 0.7319 GB, free: 1.039 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.868e-06/0.6215, allocations: 6.734 kB / 0.7319 GB, free: 1.035 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000221/0.6218, allocations: 3.844 kB / 0.7319 GB, free: 1.035 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002884/0.6221, allocations: 145.9 kB / 0.7321 GB, free: 0.8945 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002131/0.6223, allocations: 0.6805 MB / 0.7327 GB, free: 200 kB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.627e-05/0.6223, allocations: 12.84 kB / 0.7327 GB, free: 188 kB / 0.545 GB Notification: Performance of SimCode: time 3.4e-07/0.6223, allocations: 0 / 0.7327 GB, free: 188 kB / 0.545 GB Notification: Performance of Templates: time 0.002137/0.6245, allocations: 0.5542 MB / 0.7333 GB, free: 172 kB / 0.545 GB make -j1 -f IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile (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 & ./IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)