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.0009971/0.0009971, allocations: 92.22 kB / 19.65 MB, free: 276 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.0009589/0.0009589, allocations: 173 kB / 23.03 MB, free: 1.543 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 0.9368/0.9368, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.7776/0.7776, allocations: 154.6 MB / 414.5 MB, free: 0.6367 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.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.272e-06/1.272e-06, allocations: 0 / 0.5203 GB, free: 2.199 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.424e-05/1.551e-05, allocations: 2.312 kB / 0.5203 GB, free: 2.195 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1268/0.1268, allocations: 143.7 MB / 0.6606 GB, free: 2.18 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.000169/0.127, allocations: 59.73 kB / 0.6607 GB, free: 2.121 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.389e-05/0.1271, allocations: 0 / 0.6607 GB, free: 2.121 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001608/0.1272, allocations: 3.938 kB / 0.6607 GB, free: 2.117 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001194/0.1273, allocations: 15.91 kB / 0.6607 GB, free: 2.102 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005249/0.1279, allocations: 119.5 kB / 0.6608 GB, free: 1.984 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.714e-05/0.128, allocations: 39.83 kB / 0.6609 GB, free: 1.945 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.729e-05/0.128, allocations: 4 kB / 0.6609 GB, free: 1.941 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.58e-05/0.1281, allocations: 11.98 kB / 0.6609 GB, free: 1.93 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.254e-05/0.1281, allocations: 15.97 kB / 0.6609 GB, free: 1.914 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.705e-05/0.1282, allocations: 3.938 kB / 0.6609 GB, free: 1.91 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00022/0.1284, allocations: 71.75 kB / 0.661 GB, free: 1.84 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.219e-05/0.1284, allocations: 15.97 kB / 0.661 GB, free: 1.824 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.525e-05/0.1285, allocations: 11.94 kB / 0.661 GB, free: 1.812 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000152/0.1286, allocations: 67.84 kB / 0.6611 GB, free: 1.746 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.1286, allocations: 0 / 0.6611 GB, free: 1.746 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.944e-06/0.1286, allocations: 0 / 0.6611 GB, free: 1.746 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.1286, allocations: 0 / 0.6611 GB, free: 1.746 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.0003983/0.129, allocations: 364.2 kB / 0.6614 GB, free: 1.355 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.1291, allocations: 8.031 kB / 0.6614 GB, free: 1.348 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002365/0.1293, allocations: 37.09 kB / 0.6615 GB, free: 1.312 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.175e-05/0.1294, allocations: 112.6 kB / 0.6616 GB, free: 1.176 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.148e-05/0.1294, allocations: 55.97 kB / 0.6616 GB, free: 1.109 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.167e-05/0.1294, allocations: 4.125 kB / 0.6616 GB, free: 1.105 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001261/0.1296, allocations: 76.09 kB / 0.6617 GB, free: 1.016 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.1296, allocations: 0 / 0.6617 GB, free: 1.016 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.1296, allocations: 3.938 kB / 0.6617 GB, free: 1.012 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.107e-05/0.1296, allocations: 4 kB / 0.6617 GB, free: 1.008 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.127e-05/0.1296, allocations: 11.98 kB / 0.6617 GB, free: 0.9961 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003108/0.13, allocations: 271.7 kB / 0.662 GB, free: 0.6953 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 3.922e-05/0.13, allocations: 27.06 kB / 0.662 GB, free: 0.6562 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.633e-05/0.13, allocations: 7.688 kB / 0.662 GB, free: 0.6445 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.44e-06/0.13, allocations: 0 / 0.662 GB, free: 0.6445 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.385e-05/0.13, allocations: 37.39 kB / 0.662 GB, free: 0.5977 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.13, allocations: 0 / 0.662 GB, free: 0.5977 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001223/0.1302, allocations: 49.64 kB / 0.6621 GB, free: 0.543 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.71e-05/0.1302, allocations: 51.41 kB / 0.6621 GB, free: 492 kB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.335e-05/0.1303, allocations: 165.9 kB / 0.6623 GB, free: 308 kB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.026e-05/0.1303, allocations: 25.83 kB / 0.6623 GB, free: 276 kB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.678e-05/0.1303, allocations: 138.8 kB / 0.6625 GB, free: 132 kB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.484e-06/0.1303, allocations: 11.94 kB / 0.6625 GB, free: 120 kB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.567e-05/0.1304, allocations: 23.38 kB / 0.6625 GB, free: 88 kB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001191/0.1305, allocations: 496.1 kB / 0.663 GB, free: 15.59 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.308e-05/0.1305, allocations: 4 kB / 0.663 GB, free: 15.59 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.465e-05/0.1305, allocations: 35.05 kB / 0.663 GB, free: 15.54 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.682e-05/0.1305, allocations: 35 kB / 0.663 GB, free: 15.49 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.1305, allocations: 0 / 0.663 GB, free: 15.49 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.861e-05/0.1306, allocations: 53.64 kB / 0.6631 GB, free: 15.43 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.1306, allocations: 11.98 kB / 0.6631 GB, free: 15.42 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.1306, allocations: 0 / 0.6631 GB, free: 15.42 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.1306, allocations: 0 / 0.6631 GB, free: 15.42 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.503e-05/0.1307, allocations: 8 kB / 0.6631 GB, free: 15.41 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.1307, allocations: 0 / 0.6631 GB, free: 15.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.108e-05/0.1307, allocations: 3.953 kB / 0.6631 GB, free: 15.41 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.162e-06/0.1307, allocations: 4 kB / 0.6631 GB, free: 15.41 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 7.021e-05/0.1308, allocations: 160.5 kB / 0.6633 GB, free: 15.24 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.626e-05/0.1308, allocations: 8.094 kB / 0.6633 GB, free: 15.23 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.326e-05/0.1308, allocations: 10.75 kB / 0.6633 GB, free: 15.23 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.1308, allocations: 3.984 kB / 0.6633 GB, free: 15.22 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.1308, allocations: 0 / 0.6633 GB, free: 15.22 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.1308, allocations: 0 / 0.6633 GB, free: 15.22 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001998/0.131, allocations: 400.3 kB / 0.6637 GB, free: 14.79 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.131, allocations: 0 / 0.6637 GB, free: 14.79 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.242e-06/0.1311, allocations: 4 kB / 0.6637 GB, free: 14.78 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.1311, allocations: 0 / 0.6637 GB, free: 14.78 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.471e-06/0.1311, allocations: 0 / 0.6637 GB, free: 14.78 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-07/0.1311, allocations: 4.031 kB / 0.6637 GB, free: 14.78 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1311, allocations: 0 / 0.6637 GB, free: 14.78 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.59e-05/0.1311, allocations: 72.33 kB / 0.6637 GB, free: 14.68 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.026e-06/0.1311, allocations: 7.984 kB / 0.6637 GB, free: 14.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.221e-05/0.1311, allocations: 4 kB / 0.6638 GB, free: 14.67 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.792e-05/0.1312, allocations: 256 / 0.6638 GB, free: 14.67 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.394e-05/0.1312, allocations: 4 kB / 0.6638 GB, free: 14.67 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-06/0.1312, allocations: 7.938 kB / 0.6638 GB, free: 14.66 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.006e-05/0.1312, allocations: 127.2 kB / 0.6639 GB, free: 14.54 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1312, allocations: 0 / 0.6639 GB, free: 14.54 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001199/0.1314, allocations: 4.031 kB / 0.6639 GB, free: 14.53 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 8.733e-05/0.1315, allocations: 99.25 kB / 0.664 GB, free: 14.43 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 8.006e-05/0.1315, allocations: 23.62 kB / 0.664 GB, free: 14.4 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.1315, allocations: 0 / 0.664 GB, free: 14.4 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.653e-06/0.1315, allocations: 11.69 kB / 0.664 GB, free: 14.38 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001665/0.1317, allocations: 8.922 kB / 0.664 GB, free: 14.38 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000485/0.1322, allocations: 126.6 kB / 0.6641 GB, free: 14.22 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.094e-05/0.1322, allocations: 59.28 kB / 0.6642 GB, free: 14.14 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.544e-05/0.1323, allocations: 4 kB / 0.6642 GB, free: 14.14 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.431e-05/0.1323, allocations: 12.5 kB / 0.6642 GB, free: 14.13 MB / 0.6355 GB Notification: Performance of SimCode: time 8.12e-07/0.1323, allocations: 0 / 0.6642 GB, free: 14.13 MB / 0.6355 GB Notification: Performance of Templates: time 0.002129/0.1344, allocations: 0.6011 MB / 0.6648 GB, free: 13.57 MB / 0.6355 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=240 -lv LOG_STATS > IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.062364283949137]