Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001389/0.001389, 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.001714/0.001714, 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.587/1.587, allocations: 177.1 MB / 203.1 MB, free: 5.605 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.298/1.298, allocations: 154.6 MB / 414.2 MB, free: 0.625 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.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 0.5196 GB, free: 2.574 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.006e-05/3.175e-05, allocations: 2.312 kB / 0.5196 GB, free: 2.57 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion): time 0.2125/0.2125, allocations: 130.4 MB / 0.6469 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.000174/0.2127, allocations: 47.81 kB / 0.647 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.151e-05/0.2127, allocations: 0 / 0.647 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001474/0.2129, allocations: 7.922 kB / 0.647 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.328e-05/0.213, allocations: 15.94 kB / 0.647 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001096/0.2141, allocations: 215 kB / 0.6472 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001252/0.2142, allocations: 35.84 kB / 0.6472 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.767e-05/0.2142, allocations: 4 kB / 0.6472 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.194e-05/0.2143, allocations: 15.98 kB / 0.6472 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.187e-05/0.2144, allocations: 23.91 kB / 0.6473 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.698e-05/0.2144, allocations: 0 / 0.6473 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005006/0.2149, allocations: 159.4 kB / 0.6474 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.472e-05/0.215, allocations: 11.94 kB / 0.6474 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.822e-05/0.215, allocations: 11.97 kB / 0.6474 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003578/0.2154, allocations: 115.7 kB / 0.6475 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.2154, allocations: 0 / 0.6475 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.833e-06/0.2154, allocations: 3.938 kB / 0.6475 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.2154, allocations: 0 / 0.6475 GB, free: 15.25 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.0005475/0.2159, allocations: 262.3 kB / 0.6478 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/0.216, allocations: 12.03 kB / 0.6478 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004369/0.2164, allocations: 32.8 kB / 0.6478 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001557/0.2166, allocations: 109.8 kB / 0.6479 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.62e-05/0.2167, allocations: 51.97 kB / 0.648 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.079e-05/0.2167, allocations: 8.125 kB / 0.648 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001983/0.2169, allocations: 79.31 kB / 0.6481 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.948e-06/0.2169, allocations: 0 / 0.6481 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/0.2169, allocations: 0 / 0.6481 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.139e-05/0.2169, allocations: 4 kB / 0.6481 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.815e-05/0.217, allocations: 23.98 kB / 0.6481 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004557/0.2174, allocations: 204.6 kB / 0.6483 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.061e-05/0.2175, allocations: 18.58 kB / 0.6483 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.832e-05/0.2175, allocations: 12.91 kB / 0.6483 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001538/0.2177, allocations: 19.92 kB / 0.6483 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.609e-05/0.2177, allocations: 34.56 kB / 0.6484 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.2177, allocations: 0 / 0.6484 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0003079/0.218, allocations: 53.69 kB / 0.6484 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.396e-05/0.2181, allocations: 55.39 kB / 0.6485 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001181/0.2182, allocations: 105.8 kB / 0.6486 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.639e-05/0.2182, allocations: 25.7 kB / 0.6486 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.683e-05/0.2183, allocations: 88.03 kB / 0.6487 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.243e-05/0.2183, allocations: 7.938 kB / 0.6487 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.067e-05/0.2184, allocations: 17.72 kB / 0.6487 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001781/0.2185, allocations: 318.8 kB / 0.649 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.138e-05/0.2186, allocations: 7.938 kB / 0.649 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.494e-05/0.2186, allocations: 30.69 kB / 0.6491 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.68e-05/0.2187, allocations: 26.58 kB / 0.6491 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.2187, allocations: 0 / 0.6491 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001068/0.2188, allocations: 57.56 kB / 0.6491 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.2188, allocations: 8 kB / 0.6491 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.2188, allocations: 3.938 kB / 0.6491 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.09e-05/0.2188, allocations: 0 / 0.6491 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.008e-05/0.2189, allocations: 16.09 kB / 0.6492 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.2189, allocations: 0 / 0.6492 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.046e-05/0.2189, allocations: 0 / 0.6492 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/0.2189, allocations: 8 kB / 0.6492 GB, free: 13.37 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.0001199/0.2191, allocations: 113.8 kB / 0.6493 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.853e-05/0.2191, allocations: 4 kB / 0.6493 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.704e-05/0.2191, allocations: 7.312 kB / 0.6493 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.2191, allocations: 0 / 0.6493 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.2191, allocations: 0 / 0.6493 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.2191, allocations: 4 kB / 0.6493 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004961/0.2196, allocations: 319.1 kB / 0.6496 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.2196, allocations: 0 / 0.6496 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.285e-05/0.2197, allocations: 7.984 kB / 0.6496 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.2197, allocations: 0 / 0.6496 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.754e-06/0.2197, allocations: 0 / 0.6496 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.2197, allocations: 4 kB / 0.6496 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.2197, allocations: 0 / 0.6496 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001322/0.2198, allocations: 73.88 kB / 0.6497 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.293e-05/0.2198, allocations: 3.984 kB / 0.6497 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.501e-05/0.2199, allocations: 8.094 kB / 0.6497 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.203e-05/0.2199, allocations: 4 kB / 0.6497 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.711e-05/0.22, allocations: 7.938 kB / 0.6497 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-06/0.22, allocations: 0 / 0.6497 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.809e-05/0.22, allocations: 83.27 kB / 0.6498 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/0.22, allocations: 0 / 0.6498 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002033/0.2202, allocations: 8 kB / 0.6498 GB, free: 12.66 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.0001822/0.2204, allocations: 99.25 kB / 0.6499 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001037/0.2205, allocations: 15.94 kB / 0.6499 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.2205, allocations: 0 / 0.6499 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.464e-05/0.2205, allocations: 7.984 kB / 0.6499 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003397/0.2209, allocations: 17.23 kB / 0.6499 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003723/0.2213, allocations: 129.3 kB / 0.65 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.597e-05/0.2213, allocations: 63.61 kB / 0.6501 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.687e-05/0.2214, allocations: 20.25 kB / 0.6501 GB, free: 12.26 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.816e-05/0.2214, allocations: 8.5 kB / 0.6501 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of SimCode: time 8.41e-07/0.2214, allocations: 0 / 0.6501 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of Templates: time 0.003667/0.2251, allocations: 0.6879 MB / 0.6508 GB, free: 11.58 MB / 0.6198 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.327431037090719]