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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001368/0.001368, allocations: 79.86 kB / 19.18 MB, free: 2.527 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001901/0.001901, allocations: 165.2 kB / 22.46 MB, free: 5.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.548/1.548, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 1.255/1.255, allocations: 154.6 MB / 413.7 MB, free: 5.301 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.824e-06/1.824e-06, allocations: 0 / 0.6185 GB, free: 4.672 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.355e-05/3.538e-05, allocations: 6.281 kB / 0.6185 GB, free: 4.664 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.6939/0.6939, allocations: 130 MB / 0.7454 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001821/0.6941, allocations: 53.12 kB / 0.7455 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.141e-05/0.6942, allocations: 0 / 0.7455 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001775/0.6943, allocations: 5 kB / 0.7455 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.623e-05/0.6944, allocations: 13.38 kB / 0.7455 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005985/0.695, allocations: 113.8 kB / 0.7456 GB, free: 6.215 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001075/0.6951, allocations: 33.09 kB / 0.7457 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.369e-05/0.6952, allocations: 3.047 kB / 0.7457 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.303e-05/0.6953, allocations: 21.8 kB / 0.7457 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.108e-05/0.6954, allocations: 15.89 kB / 0.7457 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.727e-05/0.6954, allocations: 1 kB / 0.7457 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002725/0.6956, allocations: 71.27 kB / 0.7458 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.401e-05/0.6957, allocations: 7.344 kB / 0.7458 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.627e-05/0.6957, allocations: 15 kB / 0.7458 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002164/0.696, allocations: 78.28 kB / 0.7459 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.696, allocations: 0 / 0.7459 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.373e-06/0.696, allocations: 0 / 0.7459 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.181e-06/0.696, allocations: 1.25 kB / 0.7459 GB, free: 6.172 MB / 0.6075 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.000437/0.6964, allocations: 257.1 kB / 0.7461 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/0.6965, allocations: 10.94 kB / 0.7461 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002645/0.6967, allocations: 15.38 kB / 0.7461 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.685e-05/0.6968, allocations: 114.2 kB / 0.7462 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.913e-05/0.6969, allocations: 53.31 kB / 0.7463 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.092e-05/0.6969, allocations: 1.719 kB / 0.7463 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001641/0.6971, allocations: 78.72 kB / 0.7464 GB, free: 5.652 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.6971, allocations: 0 / 0.7464 GB, free: 5.652 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.6971, allocations: 1.438 kB / 0.7464 GB, free: 5.652 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.393e-05/0.6971, allocations: 1.25 kB / 0.7464 GB, free: 5.652 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.479e-05/0.6972, allocations: 26.05 kB / 0.7464 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003728/0.6975, allocations: 211.1 kB / 0.7466 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.04e-05/0.6976, allocations: 20.78 kB / 0.7466 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.662e-05/0.6976, allocations: 6.391 kB / 0.7466 GB, free: 5.41 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 6.001e-06/0.6976, allocations: 0 / 0.7466 GB, free: 5.41 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.546e-05/0.6976, allocations: 32.91 kB / 0.7467 GB, free: 5.371 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 8.22e-07/0.6976, allocations: 0 / 0.7467 GB, free: 5.371 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0001428/0.6978, allocations: 41.06 kB / 0.7467 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.295e-05/0.6978, allocations: 52.91 kB / 0.7467 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.915e-05/0.6979, allocations: 115.9 kB / 0.7469 GB, free: 5.164 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.153e-05/0.6979, allocations: 27.58 kB / 0.7469 GB, free: 5.133 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.733e-05/0.6979, allocations: 95.25 kB / 0.747 GB, free: 5.043 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 7.514e-06/0.6979, allocations: 1 kB / 0.747 GB, free: 5.043 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.956e-05/0.698, allocations: 21.3 kB / 0.747 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 5.094e-05/0.698, allocations: 318.3 kB / 0.7473 GB, free: 4.707 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.677e-05/0.698, allocations: 2.312 kB / 0.7473 GB, free: 4.707 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.583e-05/0.6981, allocations: 25.98 kB / 0.7473 GB, free: 4.684 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.025e-05/0.6981, allocations: 32.44 kB / 0.7474 GB, free: 4.656 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/0.6981, allocations: 4 kB / 0.7474 GB, free: 4.656 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.344e-05/0.6982, allocations: 54.67 kB / 0.7474 GB, free: 4.617 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.6982, allocations: 6.25 kB / 0.7474 GB, free: 4.617 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.6982, allocations: 0 / 0.7474 GB, free: 4.617 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.6982, allocations: 1.375 kB / 0.7474 GB, free: 4.617 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.574e-05/0.6983, allocations: 8.609 kB / 0.7474 GB, free: 4.617 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.056e-05/0.6983, allocations: 7.984 kB / 0.7474 GB, free: 4.613 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.917e-05/0.6983, allocations: 4.625 kB / 0.7474 GB, free: 4.613 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-06/0.6983, allocations: 1.344 kB / 0.7474 GB, free: 4.613 MB / 0.6075 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 6.638e-05/0.6984, allocations: 113 kB / 0.7475 GB, free: 4.496 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.612e-05/0.6984, allocations: 8.344 kB / 0.7476 GB, free: 4.492 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.272e-05/0.6985, allocations: 8.547 kB / 0.7476 GB, free: 4.484 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.6985, allocations: 3.938 kB / 0.7476 GB, free: 4.48 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.6985, allocations: 0 / 0.7476 GB, free: 4.48 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.6985, allocations: 1.281 kB / 0.7476 GB, free: 4.48 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001753/0.6986, allocations: 301.8 kB / 0.7479 GB, free: 4.164 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.6986, allocations: 1.125 kB / 0.7479 GB, free: 4.164 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.289e-05/0.6987, allocations: 1.188 kB / 0.7479 GB, free: 4.164 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.6987, allocations: 0 / 0.7479 GB, free: 4.164 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.153e-06/0.6987, allocations: 4.906 kB / 0.7479 GB, free: 4.16 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.6987, allocations: 6.188 kB / 0.7479 GB, free: 4.156 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.6987, allocations: 1.188 kB / 0.7479 GB, free: 4.156 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.558e-05/0.6987, allocations: 62.09 kB / 0.7479 GB, free: 4.09 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.066e-06/0.6987, allocations: 1.5 kB / 0.7479 GB, free: 4.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.773e-05/0.6988, allocations: 1.438 kB / 0.7479 GB, free: 4.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.87e-05/0.6988, allocations: 4.219 kB / 0.7479 GB, free: 4.09 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.235e-05/0.6988, allocations: 5.344 kB / 0.7479 GB, free: 4.086 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.503e-06/0.6988, allocations: 0 / 0.7479 GB, free: 4.086 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.23e-05/0.6989, allocations: 93.11 kB / 0.748 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6989, allocations: 0 / 0.748 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001862/0.6991, allocations: 10.59 kB / 0.748 GB, free: 4.004 MB / 0.6075 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.752e-05/0.6992, allocations: 94.16 kB / 0.7481 GB, free: 3.918 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 8.547e-05/0.6992, allocations: 19.16 kB / 0.7481 GB, free: 3.914 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.6993, allocations: 0 / 0.7481 GB, free: 3.914 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 5.971e-06/0.6993, allocations: 2.812 kB / 0.7482 GB, free: 3.914 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003168/0.6996, allocations: 8.125 kB / 0.7482 GB, free: 3.91 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002877/0.6999, allocations: 99.27 kB / 0.7483 GB, free: 3.812 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.032e-05/0.6999, allocations: 61.73 kB / 0.7483 GB, free: 3.738 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.419e-05/0.6999, allocations: 6.469 kB / 0.7483 GB, free: 3.738 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.279e-05/0.7, allocations: 11.53 kB / 0.7483 GB, free: 3.73 MB / 0.6075 GB Notification: Performance of SimCode: time 2.9e-07/0.7, allocations: 0 / 0.7483 GB, free: 3.73 MB / 0.6075 GB Notification: Performance of Templates: time 0.003015/0.703, allocations: 0.5288 MB / 0.7488 GB, free: 3.695 MB / 0.6075 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.890434924513102] Failed to read output from testmodel.py, exit status != 0: 0.712450485676527 0.727942219 0.028725519 Calling exit ...