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.002495/0.002495, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.003119/0.003119, allocations: 216.9 kB / 22.25 MB, free: 4.855 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.581/1.581, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.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.366/1.366, allocations: 203.8 MB / 0.5041 GB, free: 4.617 MB / 414.1 MB " [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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002136/0.002136, allocations: 75.84 kB / 0.7186 GB, free: 1.941 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.729/0.7312, allocations: 102 MB / 0.8183 GB, free: 28.87 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.2014/0.9326, allocations: 129.9 MB / 0.9452 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001592/0.9327, allocations: 51.86 kB / 0.9452 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.53e-05/0.9327, allocations: 0 / 0.9452 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001295/0.9329, allocations: 3.938 kB / 0.9452 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.531e-05/0.933, allocations: 19.91 kB / 0.9452 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005246/0.9335, allocations: 108.2 kB / 0.9453 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001031/0.9336, allocations: 39.84 kB / 0.9454 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.045e-05/0.9336, allocations: 3.984 kB / 0.9454 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.319e-05/0.9337, allocations: 8 kB / 0.9454 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.464e-05/0.9338, allocations: 19.91 kB / 0.9454 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.319e-05/0.9338, allocations: 0 / 0.9454 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002508/0.934, allocations: 67.75 kB / 0.9455 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.892e-05/0.9341, allocations: 7.984 kB / 0.9455 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.837e-05/0.9341, allocations: 11.98 kB / 0.9455 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001683/0.9343, allocations: 67.64 kB / 0.9456 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.9343, allocations: 8 kB / 0.9456 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.463e-06/0.9343, allocations: 3.938 kB / 0.9456 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.9343, allocations: 0 / 0.9456 GB, free: 3.629 MB / 0.7169 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.0004355/0.9347, allocations: 254.1 kB / 0.9458 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.9348, allocations: 13.47 kB / 0.9458 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002524/0.935, allocations: 16.92 kB / 0.9458 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001129/0.9351, allocations: 110.4 kB / 0.9459 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.698e-05/0.9352, allocations: 55.34 kB / 0.946 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.165e-05/0.9352, allocations: 8 kB / 0.946 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001679/0.9354, allocations: 75.38 kB / 0.9461 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.9354, allocations: 0 / 0.9461 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.9354, allocations: 4 kB / 0.9461 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.574e-05/0.9354, allocations: 0 / 0.9461 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.873e-05/0.9355, allocations: 23.92 kB / 0.9461 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004005/0.9359, allocations: 208.5 kB / 0.9463 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.598e-05/0.9359, allocations: 14.58 kB / 0.9463 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.496e-05/0.936, allocations: 20.95 kB / 0.9463 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 5.32e-06/0.936, allocations: 0 / 0.9463 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.232e-05/0.936, allocations: 30.56 kB / 0.9464 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 8.42e-07/0.936, allocations: 0 / 0.9464 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001436/0.9361, allocations: 37.64 kB / 0.9464 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.629e-05/0.9362, allocations: 51.41 kB / 0.9465 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001071/0.9363, allocations: 117.7 kB / 0.9466 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.554e-05/0.9363, allocations: 25.7 kB / 0.9466 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.234e-05/0.9364, allocations: 96.08 kB / 0.9467 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.989e-06/0.9364, allocations: 0 / 0.9467 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.341e-05/0.9364, allocations: 21.8 kB / 0.9467 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.9366, allocations: 318.8 kB / 0.947 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.665e-05/0.9366, allocations: 4 kB / 0.947 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.484e-05/0.9366, allocations: 22.56 kB / 0.947 GB, free: 1.945 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.925e-05/0.9367, allocations: 34.75 kB / 0.9471 GB, free: 1.902 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.9367, allocations: 0 / 0.9471 GB, free: 1.902 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.721e-05/0.9367, allocations: 57.62 kB / 0.9471 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.9368, allocations: 12.09 kB / 0.9471 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.9368, allocations: 0 / 0.9471 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.9368, allocations: 0 / 0.9471 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.501e-05/0.9368, allocations: 12 kB / 0.9471 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.9369, allocations: 3.984 kB / 0.9471 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.754e-05/0.9369, allocations: 3.938 kB / 0.9471 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.047e-06/0.9369, allocations: 4 kB / 0.9472 GB, free: 1.805 MB / 0.7169 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 9.382e-05/0.937, allocations: 114.8 kB / 0.9473 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.548e-05/0.937, allocations: 3.984 kB / 0.9473 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.974e-05/0.937, allocations: 7.109 kB / 0.9473 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.937, allocations: 7.938 kB / 0.9473 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.937, allocations: 0 / 0.9473 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.937, allocations: 11.88 kB / 0.9473 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002614/0.9373, allocations: 298.4 kB / 0.9476 GB, free: 1.32 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.9373, allocations: 3.938 kB / 0.9476 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.264e-05/0.9373, allocations: 0 / 0.9476 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.9373, allocations: 0 / 0.9476 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.228e-06/0.9373, allocations: 4 kB / 0.9476 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.459e-06/0.9373, allocations: 3.938 kB / 0.9476 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.9373, allocations: 0 / 0.9476 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.54e-05/0.9374, allocations: 65.09 kB / 0.9477 GB, free: 1.227 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.039e-05/0.9374, allocations: 4 kB / 0.9477 GB, free: 1.223 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.518e-05/0.9375, allocations: 0 / 0.9477 GB, free: 1.223 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.175e-05/0.9375, allocations: 7.938 kB / 0.9477 GB, free: 1.215 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.045e-05/0.9376, allocations: 0 / 0.9477 GB, free: 1.215 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.412e-06/0.9376, allocations: 0 / 0.9477 GB, free: 1.215 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.399e-05/0.9376, allocations: 83.27 kB / 0.9477 GB, free: 1.133 MB / 0.7169 GB Notification: Performance of sort global known variables: time 7e-08/0.9376, allocations: 4 kB / 0.9477 GB, free: 1.129 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001955/0.9378, allocations: 4 kB / 0.9477 GB, free: 1.125 MB / 0.7169 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.0001055/0.9379, allocations: 104.3 kB / 0.9478 GB, free: 1.016 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.639e-05/0.938, allocations: 15.92 kB / 0.9479 GB, free: 1 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.938, allocations: 0 / 0.9479 GB, free: 1 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.393e-06/0.938, allocations: 4 kB / 0.9479 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002426/0.9383, allocations: 9.5 kB / 0.9479 GB, free: 0.9883 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002612/0.9385, allocations: 110.8 kB / 0.948 GB, free: 0.8516 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.015e-05/0.9386, allocations: 59.34 kB / 0.948 GB, free: 0.7734 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.708e-05/0.9386, allocations: 8.25 kB / 0.948 GB, free: 0.7656 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.439e-05/0.9387, allocations: 7.438 kB / 0.9481 GB, free: 0.7578 MB / 0.7169 GB Notification: Performance of SimCode: time 3.4e-07/0.9387, allocations: 4 kB / 0.9481 GB, free: 0.7539 MB / 0.7169 GB Notification: Performance of Templates: time 0.003062/0.9417, allocations: 0.5516 MB / 0.9486 GB, free: 256 kB / 0.7169 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: 7.511702353134751] Failed to read output from testmodel.py, exit status != 0: 0.9510665647685528 0.9658396 0.028333674000000003 Calling exit ...