Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.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.001415/0.001415, allocations: 88.72 kB / 19.44 MB, free: 356 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.001657/0.001657, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.493/1.493, allocations: 177.1 MB / 203.1 MB, free: 5.469 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.207/1.207, allocations: 154.8 MB / 414.3 MB, free: 392 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.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 0.5198 GB, free: 2.344 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.419e-05/3.593e-05, allocations: 3.594 kB / 0.5198 GB, free: 2.34 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion): time 0.2152/0.2152, allocations: 130.4 MB / 0.6471 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0001921/0.2154, allocations: 55.73 kB / 0.6472 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.089e-05/0.2154, allocations: 0 / 0.6472 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001382/0.2156, allocations: 0 / 0.6472 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.753e-05/0.2157, allocations: 19.91 kB / 0.6472 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000943/0.2166, allocations: 215 kB / 0.6474 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.945e-05/0.2167, allocations: 31.86 kB / 0.6474 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.448e-05/0.2168, allocations: 0 / 0.6474 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.534e-05/0.2168, allocations: 27.91 kB / 0.6475 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.307e-05/0.2169, allocations: 11.98 kB / 0.6475 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.46e-05/0.2169, allocations: 0 / 0.6475 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004122/0.2173, allocations: 163.3 kB / 0.6476 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.338e-05/0.2174, allocations: 11.98 kB / 0.6476 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.236e-05/0.2174, allocations: 12 kB / 0.6477 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003001/0.2177, allocations: 115.6 kB / 0.6478 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.2177, allocations: 0 / 0.6478 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.523e-06/0.2177, allocations: 0 / 0.6478 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.559e-06/0.2177, allocations: 0 / 0.6478 GB, free: 15.02 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.0005069/0.2182, allocations: 262.3 kB / 0.648 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.2183, allocations: 12.03 kB / 0.648 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004/0.2187, allocations: 36.78 kB / 0.6481 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000126/0.2188, allocations: 113.8 kB / 0.6482 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.305e-05/0.2189, allocations: 59.95 kB / 0.6482 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.611e-05/0.2189, allocations: 4.125 kB / 0.6482 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001782/0.2191, allocations: 71.39 kB / 0.6483 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.2191, allocations: 4 kB / 0.6483 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/0.2191, allocations: 0 / 0.6483 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.767e-05/0.2191, allocations: 0 / 0.6483 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.672e-05/0.2192, allocations: 23.92 kB / 0.6483 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004549/0.2197, allocations: 212.5 kB / 0.6485 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.759e-05/0.2197, allocations: 18.58 kB / 0.6485 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.248e-05/0.2197, allocations: 8.859 kB / 0.6486 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001442/0.2199, allocations: 20.05 kB / 0.6486 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.916e-05/0.2199, allocations: 30.56 kB / 0.6486 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.2199, allocations: 7.938 kB / 0.6486 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0003044/0.2202, allocations: 57.52 kB / 0.6487 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.526e-05/0.2203, allocations: 55.41 kB / 0.6487 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/0.2204, allocations: 101.8 kB / 0.6488 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.315e-05/0.2204, allocations: 29.83 kB / 0.6488 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.529e-05/0.2205, allocations: 88.09 kB / 0.6489 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.094e-05/0.2205, allocations: 3.953 kB / 0.6489 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.311e-05/0.2206, allocations: 17.72 kB / 0.6489 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001737/0.2207, allocations: 314.8 kB / 0.6492 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.264e-05/0.2208, allocations: 11.98 kB / 0.6493 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.689e-05/0.2208, allocations: 18.58 kB / 0.6493 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.789e-05/0.2208, allocations: 34.52 kB / 0.6493 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.2208, allocations: 4 kB / 0.6493 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.262e-05/0.2209, allocations: 53.62 kB / 0.6494 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.221, allocations: 4 kB / 0.6494 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.221, allocations: 4 kB / 0.6494 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.221, allocations: 0 / 0.6494 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.873e-05/0.2211, allocations: 11.92 kB / 0.6494 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.2211, allocations: 4 kB / 0.6494 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.071e-05/0.2211, allocations: 4 kB / 0.6494 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.509e-06/0.2211, allocations: 0 / 0.6494 GB, free: 13.14 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.0001057/0.2212, allocations: 117.9 kB / 0.6495 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.717e-05/0.2212, allocations: 4 kB / 0.6495 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.019e-05/0.2213, allocations: 7.312 kB / 0.6495 GB, free: 13 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.2213, allocations: 0 / 0.6495 GB, free: 13 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.2213, allocations: 0 / 0.6495 GB, free: 13 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.2213, allocations: 3.984 kB / 0.6495 GB, free: 13 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003622/0.2216, allocations: 319.1 kB / 0.6498 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.2216, allocations: 0 / 0.6498 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.953e-05/0.2217, allocations: 8 kB / 0.6498 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.2217, allocations: 0 / 0.6498 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.643e-06/0.2217, allocations: 4.062 kB / 0.6498 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.2217, allocations: 0 / 0.6498 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.2217, allocations: 4 kB / 0.6498 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001158/0.2218, allocations: 74.14 kB / 0.6499 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.402e-06/0.2218, allocations: 4 kB / 0.6499 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.903e-05/0.2218, allocations: 7.938 kB / 0.6499 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.572e-05/0.2219, allocations: 7.984 kB / 0.6499 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.493e-05/0.2219, allocations: 7.922 kB / 0.6499 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-06/0.2219, allocations: 0 / 0.6499 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.087e-05/0.222, allocations: 79.28 kB / 0.65 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/0.222, allocations: 8.031 kB / 0.65 GB, free: 12.42 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001999/0.2222, allocations: 4 kB / 0.65 GB, free: 12.41 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0001766/0.2224, allocations: 99.25 kB / 0.6501 GB, free: 12.31 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 9.024e-05/0.2225, allocations: 19.92 kB / 0.6501 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.2225, allocations: 0 / 0.6501 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.138e-05/0.2225, allocations: 4 kB / 0.6501 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003255/0.2228, allocations: 20.23 kB / 0.6502 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000359/0.2231, allocations: 129.4 kB / 0.6503 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.81e-05/0.2232, allocations: 63.34 kB / 0.6503 GB, free: 12.03 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.752e-05/0.2233, allocations: 11.86 kB / 0.6504 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.501e-05/0.2233, allocations: 8.5 kB / 0.6504 GB, free: 12.01 MB / 0.6198 GB Notification: Performance of SimCode: time 3.01e-07/0.2233, allocations: 0 / 0.6504 GB, free: 12.01 MB / 0.6198 GB Notification: Performance of Templates: time 0.004051/0.2274, allocations: 0.6808 MB / 0.651 GB, free: 11.34 MB / 0.6198 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.131218211958185]