Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.002022/0.002022, allocations: 88.72 kB / 19.44 MB, free: 352 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.002451/0.002451, allocations: 157.7 kB / 22.75 MB, free: 1.68 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.571/1.571, allocations: 177.1 MB / 203.1 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 1.27/1.27, allocations: 154.6 MB / 414.1 MB, free: 0.6406 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 0.5196 GB, free: 2.566 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.441e-05/4.639e-05, allocations: 5.406 kB / 0.5196 GB, free: 2.562 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.2201/0.2201, allocations: 130 MB / 0.6465 GB, free: 300 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0001873/0.2203, allocations: 59.69 kB / 0.6466 GB, free: 240 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.454e-05/0.2203, allocations: 0 / 0.6466 GB, free: 240 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001593/0.2205, allocations: 3.938 kB / 0.6466 GB, free: 236 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001052/0.2206, allocations: 11.97 kB / 0.6466 GB, free: 224 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006473/0.2212, allocations: 107.5 kB / 0.6467 GB, free: 116 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001223/0.2214, allocations: 39.78 kB / 0.6468 GB, free: 76 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.067e-05/0.2214, allocations: 8 kB / 0.6468 GB, free: 68 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.063e-05/0.2215, allocations: 15.98 kB / 0.6468 GB, free: 52 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 9.367e-05/0.2216, allocations: 19.91 kB / 0.6468 GB, free: 32 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.79e-05/0.2216, allocations: 0 / 0.6468 GB, free: 32 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003693/0.222, allocations: 67.73 kB / 0.6469 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.628e-05/0.222, allocations: 11.98 kB / 0.6469 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.572e-05/0.2221, allocations: 11.98 kB / 0.6469 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002316/0.2223, allocations: 63.8 kB / 0.6469 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.2223, allocations: 3.938 kB / 0.647 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.264e-06/0.2223, allocations: 0 / 0.647 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.404e-06/0.2223, allocations: 4 kB / 0.647 GB, free: 15.87 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.0006665/0.223, allocations: 266.3 kB / 0.6472 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.131e-05/0.2231, allocations: 8.031 kB / 0.6472 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003759/0.2234, allocations: 32.81 kB / 0.6472 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001331/0.2236, allocations: 101.8 kB / 0.6473 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.01e-05/0.2237, allocations: 55.97 kB / 0.6474 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.028e-05/0.2237, allocations: 4.125 kB / 0.6474 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001892/0.2239, allocations: 75.38 kB / 0.6475 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.2239, allocations: 4 kB / 0.6475 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.767e-05/0.2239, allocations: 3.984 kB / 0.6475 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.495e-05/0.2239, allocations: 4 kB / 0.6475 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.153e-05/0.224, allocations: 19.92 kB / 0.6475 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004747/0.2245, allocations: 208.5 kB / 0.6477 GB, free: 15 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.564e-05/0.2245, allocations: 14.58 kB / 0.6477 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.627e-05/0.2245, allocations: 4.859 kB / 0.6477 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.844e-06/0.2245, allocations: 0 / 0.6477 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.136e-05/0.2246, allocations: 42.66 kB / 0.6478 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.2246, allocations: 0 / 0.6478 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001845/0.2248, allocations: 41.59 kB / 0.6478 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.297e-05/0.2248, allocations: 55.41 kB / 0.6479 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001307/0.225, allocations: 109.8 kB / 0.648 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.545e-05/0.225, allocations: 25.7 kB / 0.648 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.758e-05/0.2251, allocations: 84.09 kB / 0.6481 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.042e-05/0.2251, allocations: 7.891 kB / 0.6481 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.943e-05/0.2251, allocations: 17.72 kB / 0.6481 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001808/0.2253, allocations: 322.8 kB / 0.6484 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.403e-05/0.2253, allocations: 12.12 kB / 0.6484 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.685e-05/0.2253, allocations: 22.52 kB / 0.6484 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.114e-05/0.2254, allocations: 34.5 kB / 0.6485 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.2254, allocations: 0 / 0.6485 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001043/0.2255, allocations: 49.64 kB / 0.6485 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.2255, allocations: 8 kB / 0.6485 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.2255, allocations: 4.078 kB / 0.6485 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.684e-05/0.2256, allocations: 8.078 kB / 0.6485 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.924e-05/0.2256, allocations: 8 kB / 0.6485 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.2256, allocations: 0 / 0.6485 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.924e-05/0.2257, allocations: 3.938 kB / 0.6485 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.175e-06/0.2257, allocations: 4 kB / 0.6485 GB, free: 14.04 MB / 0.6198 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.0001076/0.2258, allocations: 113.8 kB / 0.6487 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.928e-05/0.2258, allocations: 7.953 kB / 0.6487 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.926e-05/0.2258, allocations: 3.156 kB / 0.6487 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.2258, allocations: 3.984 kB / 0.6487 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.2259, allocations: 0 / 0.6487 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.2259, allocations: 8 kB / 0.6487 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003238/0.2262, allocations: 294.4 kB / 0.649 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.2262, allocations: 0 / 0.649 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.499e-05/0.2262, allocations: 0 / 0.649 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.2262, allocations: 0 / 0.649 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.2262, allocations: 7.938 kB / 0.649 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.2262, allocations: 0 / 0.649 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2262, allocations: 0 / 0.649 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.303e-05/0.2263, allocations: 61.08 kB / 0.649 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.209e-05/0.2263, allocations: 3.984 kB / 0.649 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.62e-05/0.2263, allocations: 4.062 kB / 0.649 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.588e-05/0.2264, allocations: 4 kB / 0.649 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.412e-05/0.2264, allocations: 0 / 0.649 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.159e-06/0.2264, allocations: 4.188 kB / 0.649 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.059e-05/0.2265, allocations: 91.27 kB / 0.6491 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/0.2265, allocations: 4 kB / 0.6491 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001937/0.2267, allocations: 4 kB / 0.6491 GB, free: 13.37 MB / 0.6198 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.0001358/0.2268, allocations: 95.25 kB / 0.6492 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 9.106e-05/0.2269, allocations: 20.06 kB / 0.6492 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.165e-06/0.2269, allocations: 0 / 0.6492 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.266e-06/0.2269, allocations: 7.938 kB / 0.6492 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003124/0.2273, allocations: 7.984 kB / 0.6493 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003386/0.2276, allocations: 112.6 kB / 0.6494 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.019e-05/0.2277, allocations: 67.28 kB / 0.6494 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.706e-05/0.2277, allocations: 11.98 kB / 0.6494 GB, free: 13 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.569e-05/0.2278, allocations: 8.5 kB / 0.6494 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of SimCode: time 6.72e-07/0.2278, allocations: 0 / 0.6494 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of Templates: time 0.003325/0.2311, allocations: 0.5577 MB / 0.65 GB, free: 12.48 MB / 0.6198 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.393405276001431]