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.0015/0.0015, allocations: 93.06 kB / 19.65 MB, free: 280 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.00169/0.00169, allocations: 169 kB / 23.02 MB, free: 1.551 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.097/1.097, allocations: 177.1 MB / 203.4 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] 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 0.7725/0.7725, allocations: 154.6 MB / 414.5 MB, free: 0.6523 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 179] 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.843e-06/1.843e-06, allocations: 0 / 0.5203 GB, free: 2.07 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.617e-05/1.801e-05, allocations: 2.312 kB / 0.5203 GB, free: 2.066 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1271/0.1271, allocations: 144.1 MB / 0.661 GB, free: 1.586 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0001136/0.1272, allocations: 43.81 kB / 0.6611 GB, free: 1.543 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.7e-05/0.1272, allocations: 0 / 0.6611 GB, free: 1.543 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001229/0.1274, allocations: 3.938 kB / 0.6611 GB, free: 1.539 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.196e-05/0.1274, allocations: 27.84 kB / 0.6611 GB, free: 1.512 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006792/0.1281, allocations: 219.1 kB / 0.6613 GB, free: 1.297 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.106e-05/0.1282, allocations: 39.84 kB / 0.6614 GB, free: 1.258 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.397e-05/0.1282, allocations: 0 / 0.6614 GB, free: 1.258 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.735e-05/0.1283, allocations: 19.98 kB / 0.6614 GB, free: 1.238 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.523e-05/0.1284, allocations: 19.91 kB / 0.6614 GB, free: 1.219 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.306e-05/0.1284, allocations: 4 kB / 0.6614 GB, free: 1.215 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002845/0.1286, allocations: 163.4 kB / 0.6616 GB, free: 1.055 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.648e-05/0.1287, allocations: 11.94 kB / 0.6616 GB, free: 1.043 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.162e-05/0.1287, allocations: 7.984 kB / 0.6616 GB, free: 1.035 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001935/0.1289, allocations: 115.7 kB / 0.6617 GB, free: 0.9219 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.1289, allocations: 3.938 kB / 0.6617 GB, free: 0.918 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.553e-06/0.1289, allocations: 0 / 0.6617 GB, free: 0.918 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.641e-06/0.1289, allocations: 0 / 0.6617 GB, free: 0.918 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.0003646/0.1293, allocations: 364.2 kB / 0.662 GB, free: 0.5273 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.1293, allocations: 12.03 kB / 0.6621 GB, free: 0.5156 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002727/0.1296, allocations: 37.14 kB / 0.6621 GB, free: 492 kB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.047e-05/0.1297, allocations: 108.6 kB / 0.6622 GB, free: 356 kB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.366e-05/0.1297, allocations: 59.95 kB / 0.6623 GB, free: 284 kB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.141e-05/0.1297, allocations: 4.125 kB / 0.6623 GB, free: 280 kB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001245/0.1299, allocations: 80.03 kB / 0.6623 GB, free: 184 kB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.1299, allocations: 0 / 0.6623 GB, free: 184 kB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.1299, allocations: 0 / 0.6623 GB, free: 184 kB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.692e-05/0.1299, allocations: 4 kB / 0.6623 GB, free: 180 kB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.126e-05/0.1299, allocations: 16 kB / 0.6624 GB, free: 164 kB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002875/0.1302, allocations: 255.7 kB / 0.6626 GB, free: 15.88 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.76e-05/0.1303, allocations: 31.09 kB / 0.6626 GB, free: 15.83 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.937e-05/0.1303, allocations: 15.69 kB / 0.6626 GB, free: 15.81 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.051e-05/0.1304, allocations: 16 kB / 0.6627 GB, free: 15.8 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.524e-05/0.1304, allocations: 37.38 kB / 0.6627 GB, free: 15.75 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.663e-06/0.1304, allocations: 3.984 kB / 0.6627 GB, free: 15.75 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001879/0.1306, allocations: 61.58 kB / 0.6628 GB, free: 15.68 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.86e-05/0.1306, allocations: 51.41 kB / 0.6628 GB, free: 15.62 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.129e-05/0.1307, allocations: 153.9 kB / 0.663 GB, free: 15.45 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.22e-05/0.1307, allocations: 29.7 kB / 0.663 GB, free: 15.41 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.328e-05/0.1307, allocations: 134.8 kB / 0.6631 GB, free: 15.28 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.843e-06/0.1307, allocations: 7.938 kB / 0.6631 GB, free: 15.27 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.602e-05/0.1308, allocations: 23.38 kB / 0.6631 GB, free: 15.24 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001137/0.1309, allocations: 496.1 kB / 0.6636 GB, free: 14.74 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.093e-05/0.1309, allocations: 8.062 kB / 0.6636 GB, free: 14.73 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.771e-05/0.1309, allocations: 39.05 kB / 0.6637 GB, free: 14.68 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.569e-05/0.131, allocations: 31.06 kB / 0.6637 GB, free: 14.64 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.131, allocations: 3.938 kB / 0.6637 GB, free: 14.64 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.525e-05/0.131, allocations: 57.56 kB / 0.6637 GB, free: 14.57 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/0.131, allocations: 4 kB / 0.6637 GB, free: 14.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.131, allocations: 0 / 0.6637 GB, free: 14.57 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.1311, allocations: 4.094 kB / 0.6638 GB, free: 14.57 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.02e-05/0.1311, allocations: 12 kB / 0.6638 GB, free: 14.55 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.169e-06/0.1311, allocations: 0 / 0.6638 GB, free: 14.55 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.841e-05/0.1311, allocations: 11.94 kB / 0.6638 GB, free: 14.54 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.687e-06/0.1311, allocations: 0 / 0.6638 GB, free: 14.54 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 6.233e-05/0.1312, allocations: 160.5 kB / 0.6639 GB, free: 14.38 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.447e-05/0.1312, allocations: 3.953 kB / 0.6639 GB, free: 14.37 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.348e-05/0.1312, allocations: 14.89 kB / 0.6639 GB, free: 14.36 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.1312, allocations: 4 kB / 0.6639 GB, free: 14.36 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.1312, allocations: 0 / 0.6639 GB, free: 14.36 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.1312, allocations: 0 / 0.6639 GB, free: 14.36 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001951/0.1314, allocations: 427.9 kB / 0.6644 GB, free: 13.89 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.1314, allocations: 0 / 0.6644 GB, free: 13.89 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.102e-05/0.1314, allocations: 4 kB / 0.6644 GB, free: 13.88 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.1314, allocations: 0 / 0.6644 GB, free: 13.88 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.1314, allocations: 4 kB / 0.6644 GB, free: 13.88 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1314, allocations: 0 / 0.6644 GB, free: 13.88 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.1314, allocations: 3.984 kB / 0.6644 GB, free: 13.88 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.736e-05/0.1315, allocations: 92 kB / 0.6645 GB, free: 13.76 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.769e-06/0.1315, allocations: 0 / 0.6645 GB, free: 13.76 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.14e-05/0.1315, allocations: 8.094 kB / 0.6645 GB, free: 13.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.803e-05/0.1316, allocations: 3.984 kB / 0.6645 GB, free: 13.75 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.443e-05/0.1316, allocations: 3.938 kB / 0.6645 GB, free: 13.74 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-06/0.1316, allocations: 4 kB / 0.6645 GB, free: 13.74 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.141e-05/0.1316, allocations: 119.2 kB / 0.6646 GB, free: 13.62 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.1e-08/0.1316, allocations: 4 kB / 0.6646 GB, free: 13.62 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001259/0.1317, allocations: 4 kB / 0.6646 GB, free: 13.61 MB / 0.6355 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.000102/0.1318, allocations: 99.25 kB / 0.6647 GB, free: 13.51 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.367e-05/0.1319, allocations: 27.61 kB / 0.6647 GB, free: 13.48 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.1319, allocations: 0 / 0.6647 GB, free: 13.48 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.575e-06/0.1319, allocations: 11.69 kB / 0.6647 GB, free: 13.46 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001588/0.1321, allocations: 26.05 kB / 0.6648 GB, free: 13.44 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003811/0.1325, allocations: 130.3 kB / 0.6649 GB, free: 13.28 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.922e-05/0.1325, allocations: 63.34 kB / 0.6649 GB, free: 13.2 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.673e-05/0.1325, allocations: 8.406 kB / 0.6649 GB, free: 13.19 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.081e-05/0.1325, allocations: 8.5 kB / 0.665 GB, free: 13.18 MB / 0.6355 GB Notification: Performance of SimCode: time 3.91e-07/0.1325, allocations: 0 / 0.665 GB, free: 13.18 MB / 0.6355 GB Notification: Performance of Templates: time 0.002313/0.1349, allocations: 0.7536 MB / 0.6657 GB, free: 12.45 MB / 0.6355 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=240 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.228759151883423]