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.001858/0.001858, allocations: 81.5 kB / 19.44 MB, free: 344 kB / 13.93 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.002083/0.002083, allocations: 173.6 kB / 22.76 MB, free: 1.664 MB / 18.57 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.639/1.639, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 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-535:34: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-535:42: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.309/1.309, allocations: 154.8 MB / 414.3 MB, free: 480 kB / 378.7 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 2.184e-06/2.184e-06, allocations: 0.7656 kB / 0.5199 GB, free: 2.312 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.376e-05/3.595e-05, allocations: 4.062 kB / 0.5199 GB, free: 2.309 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.2289/0.229, allocations: 143.4 MB / 0.6599 GB, free: 2.605 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.000204/0.2292, allocations: 55.73 kB / 0.6599 GB, free: 2.551 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.23e-05/0.2292, allocations: 0 / 0.6599 GB, free: 2.551 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000157/0.2293, allocations: 11.94 kB / 0.6599 GB, free: 2.539 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001005/0.2294, allocations: 11.91 kB / 0.6599 GB, free: 2.527 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006676/0.2301, allocations: 107.5 kB / 0.6601 GB, free: 2.422 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001271/0.2302, allocations: 35.84 kB / 0.6601 GB, free: 2.387 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.913e-05/0.2303, allocations: 0 / 0.6601 GB, free: 2.387 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.939e-05/0.2304, allocations: 23.98 kB / 0.6601 GB, free: 2.363 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.537e-05/0.2305, allocations: 15.91 kB / 0.6601 GB, free: 2.348 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.326e-05/0.2305, allocations: 4 kB / 0.6601 GB, free: 2.344 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003229/0.2308, allocations: 71.73 kB / 0.6602 GB, free: 2.273 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.211e-05/0.2309, allocations: 7.922 kB / 0.6602 GB, free: 2.266 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.996e-05/0.2309, allocations: 8 kB / 0.6602 GB, free: 2.258 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002329/0.2311, allocations: 67.84 kB / 0.6603 GB, free: 2.191 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.2311, allocations: 0 / 0.6603 GB, free: 2.191 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.683e-06/0.2311, allocations: 4 kB / 0.6603 GB, free: 2.188 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.2311, allocations: 0 / 0.6603 GB, free: 2.188 MB / 0.6198 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.0006198/0.2318, allocations: 368.2 kB / 0.6606 GB, free: 1.793 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/0.2318, allocations: 8.031 kB / 0.6606 GB, free: 1.785 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003665/0.2322, allocations: 32.75 kB / 0.6607 GB, free: 1.754 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001622/0.2323, allocations: 112.6 kB / 0.6608 GB, free: 1.617 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.691e-05/0.2324, allocations: 51.97 kB / 0.6608 GB, free: 1.555 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.714e-05/0.2325, allocations: 12.12 kB / 0.6608 GB, free: 1.543 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001905/0.2327, allocations: 71.38 kB / 0.6609 GB, free: 1.461 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.2327, allocations: 0 / 0.6609 GB, free: 1.461 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.413e-05/0.2327, allocations: 4 kB / 0.6609 GB, free: 1.457 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.57e-05/0.2327, allocations: 3.984 kB / 0.6609 GB, free: 1.453 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.428e-05/0.2328, allocations: 12 kB / 0.6609 GB, free: 1.441 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005216/0.2333, allocations: 259.8 kB / 0.6612 GB, free: 1.152 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.248e-05/0.2334, allocations: 27 kB / 0.6612 GB, free: 1.113 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.41e-05/0.2334, allocations: 11.75 kB / 0.6612 GB, free: 1.098 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.183e-05/0.2334, allocations: 0 / 0.6612 GB, free: 1.098 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.685e-05/0.2334, allocations: 33.39 kB / 0.6612 GB, free: 1.055 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 5.56e-06/0.2334, allocations: 4 kB / 0.6612 GB, free: 1.051 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001959/0.2336, allocations: 49.58 kB / 0.6613 GB, free: 0.9961 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.099e-05/0.2337, allocations: 51.41 kB / 0.6613 GB, free: 0.9336 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001525/0.2338, allocations: 165.9 kB / 0.6615 GB, free: 0.7539 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.256e-05/0.2339, allocations: 25.7 kB / 0.6615 GB, free: 0.7227 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.811e-05/0.234, allocations: 138.8 kB / 0.6617 GB, free: 0.582 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.196e-05/0.234, allocations: 7.891 kB / 0.6617 GB, free: 0.5742 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.558e-05/0.234, allocations: 23.38 kB / 0.6617 GB, free: 0.543 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0002671/0.2343, allocations: 496.1 kB / 0.6622 GB, free: 48 kB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.982e-05/0.2343, allocations: 11.98 kB / 0.6622 GB, free: 36 kB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.946e-05/0.2344, allocations: 27.19 kB / 0.6622 GB, free: 16 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.534e-05/0.2344, allocations: 43 kB / 0.6622 GB, free: 15.94 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.2345, allocations: 0 / 0.6622 GB, free: 15.94 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001049/0.2346, allocations: 53.62 kB / 0.6623 GB, free: 15.88 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.2346, allocations: 4 kB / 0.6623 GB, free: 15.88 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.2346, allocations: 0 / 0.6623 GB, free: 15.88 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.108e-05/0.2346, allocations: 4 kB / 0.6623 GB, free: 15.88 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.691e-05/0.2347, allocations: 4.094 kB / 0.6623 GB, free: 15.87 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.2347, allocations: 4 kB / 0.6623 GB, free: 15.87 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.242e-05/0.2347, allocations: 4 kB / 0.6623 GB, free: 15.86 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/0.2347, allocations: 0 / 0.6623 GB, free: 15.86 MB / 0.6355 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.0001338/0.2349, allocations: 172.4 kB / 0.6625 GB, free: 15.68 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.127e-05/0.2349, allocations: 7.891 kB / 0.6625 GB, free: 15.68 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.855e-05/0.2349, allocations: 3.156 kB / 0.6625 GB, free: 15.67 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.2349, allocations: 4 kB / 0.6625 GB, free: 15.67 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.2349, allocations: 0 / 0.6625 GB, free: 15.67 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.2349, allocations: 0 / 0.6625 GB, free: 15.67 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005631/0.2355, allocations: 400.3 kB / 0.6629 GB, free: 15.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.2355, allocations: 0 / 0.6629 GB, free: 15.23 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.907e-05/0.2355, allocations: 4 kB / 0.6629 GB, free: 15.23 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.2355, allocations: 0 / 0.6629 GB, free: 15.23 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-06/0.2355, allocations: 0 / 0.6629 GB, free: 15.23 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.2355, allocations: 256 / 0.6629 GB, free: 15.23 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/0.2355, allocations: 4 kB / 0.6629 GB, free: 15.22 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001204/0.2356, allocations: 80.31 kB / 0.663 GB, free: 15.12 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.185e-05/0.2357, allocations: 0 / 0.663 GB, free: 15.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.082e-05/0.2357, allocations: 4 kB / 0.663 GB, free: 15.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.48e-05/0.2358, allocations: 64 / 0.663 GB, free: 15.12 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.387e-05/0.2358, allocations: 7.984 kB / 0.663 GB, free: 15.11 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.067e-06/0.2358, allocations: 3.938 kB / 0.663 GB, free: 15.11 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 9.343e-05/0.2359, allocations: 131.2 kB / 0.6631 GB, free: 14.98 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.2359, allocations: 0 / 0.6631 GB, free: 14.98 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001856/0.2361, allocations: 4 kB / 0.6631 GB, free: 14.97 MB / 0.6355 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.0001295/0.2362, allocations: 95.25 kB / 0.6632 GB, free: 14.87 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001225/0.2363, allocations: 23.61 kB / 0.6632 GB, free: 14.84 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.2363, allocations: 0 / 0.6632 GB, free: 14.84 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.802e-05/0.2363, allocations: 19.88 kB / 0.6632 GB, free: 14.82 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002267/0.2366, allocations: 4.562 kB / 0.6632 GB, free: 14.82 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003333/0.2369, allocations: 114.3 kB / 0.6633 GB, free: 14.68 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.479e-05/0.237, allocations: 63.28 kB / 0.6634 GB, free: 14.59 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.992e-05/0.237, allocations: 19.94 kB / 0.6634 GB, free: 14.57 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.153e-05/0.2371, allocations: 12.5 kB / 0.6634 GB, free: 14.56 MB / 0.6355 GB Notification: Performance of SimCode: time 6.71e-07/0.2371, allocations: 0 / 0.6634 GB, free: 14.56 MB / 0.6355 GB Notification: Performance of Templates: time 0.003778/0.2408, allocations: 0.5585 MB / 0.664 GB, free: 14.05 MB / 0.6355 GB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.938663667067885]