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.00143/0.00143, allocations: 82.05 kB / 19.87 MB, free: 4.621 MB / 18.57 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.002205/0.002205, allocations: 169.7 kB / 23.27 MB, free: 1.227 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.01/1.01, allocations: 177.1 MB / 203.7 MB, free: 5.508 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.8684/0.8684, allocations: 154.6 MB / 414.8 MB, free: 0.5312 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 2.014e-06/2.014e-06, allocations: 0 / 0.5208 GB, free: 1.914 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.36e-05/1.561e-05, allocations: 2.312 kB / 0.5208 GB, free: 1.91 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1354/0.1354, allocations: 141 MB / 0.6585 GB, free: 4.582 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0001407/0.1355, allocations: 63.73 kB / 0.6585 GB, free: 4.52 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.627e-05/0.1356, allocations: 0 / 0.6585 GB, free: 4.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001536/0.1357, allocations: 7.938 kB / 0.6585 GB, free: 4.512 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.053e-05/0.1358, allocations: 15.91 kB / 0.6585 GB, free: 4.496 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000473/0.1363, allocations: 115.5 kB / 0.6586 GB, free: 4.383 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.493e-05/0.1364, allocations: 35.84 kB / 0.6587 GB, free: 4.348 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.081e-05/0.1364, allocations: 7.984 kB / 0.6587 GB, free: 4.34 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.282e-05/0.1365, allocations: 19.98 kB / 0.6587 GB, free: 4.32 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.889e-05/0.1366, allocations: 15.92 kB / 0.6587 GB, free: 4.305 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.339e-05/0.1366, allocations: 0 / 0.6587 GB, free: 4.305 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001971/0.1368, allocations: 71.73 kB / 0.6588 GB, free: 4.234 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.838e-05/0.1368, allocations: 11.94 kB / 0.6588 GB, free: 4.223 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.901e-05/0.1368, allocations: 11.97 kB / 0.6588 GB, free: 4.211 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001349/0.137, allocations: 67.86 kB / 0.6589 GB, free: 4.145 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.137, allocations: 0 / 0.6589 GB, free: 4.145 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.352e-06/0.137, allocations: 0 / 0.6589 GB, free: 4.145 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.184e-06/0.137, allocations: 4 kB / 0.6589 GB, free: 4.141 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.0003458/0.1373, allocations: 360.2 kB / 0.6592 GB, free: 3.754 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.1374, allocations: 15.97 kB / 0.6592 GB, free: 3.738 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001913/0.1376, allocations: 29.16 kB / 0.6593 GB, free: 3.711 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.609e-05/0.1376, allocations: 108.6 kB / 0.6594 GB, free: 3.578 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.023e-05/0.1377, allocations: 59.89 kB / 0.6594 GB, free: 3.508 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.988e-06/0.1377, allocations: 8.125 kB / 0.6594 GB, free: 3.5 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001116/0.1378, allocations: 76.08 kB / 0.6595 GB, free: 3.41 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.432e-06/0.1378, allocations: 8 kB / 0.6595 GB, free: 3.402 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.434e-06/0.1378, allocations: 0 / 0.6595 GB, free: 3.402 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.437e-05/0.1378, allocations: 0 / 0.6595 GB, free: 3.402 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.238e-05/0.1379, allocations: 15.97 kB / 0.6595 GB, free: 3.387 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002658/0.1381, allocations: 236.4 kB / 0.6598 GB, free: 3.129 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 3.837e-05/0.1382, allocations: 31 kB / 0.6598 GB, free: 3.086 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.42e-05/0.1382, allocations: 7.688 kB / 0.6598 GB, free: 3.074 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 6.933e-06/0.1382, allocations: 4.031 kB / 0.6598 GB, free: 3.07 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.491e-05/0.1382, allocations: 41.38 kB / 0.6598 GB, free: 3.02 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.242e-06/0.1382, allocations: 0 / 0.6598 GB, free: 3.02 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001083/0.1383, allocations: 37.72 kB / 0.6599 GB, free: 2.977 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.862e-05/0.1384, allocations: 55.34 kB / 0.6599 GB, free: 2.91 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.678e-05/0.1384, allocations: 165.9 kB / 0.6601 GB, free: 2.73 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.123e-05/0.1385, allocations: 25.7 kB / 0.6601 GB, free: 2.699 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.804e-05/0.1385, allocations: 138.8 kB / 0.6602 GB, free: 2.559 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.141e-06/0.1385, allocations: 7.953 kB / 0.6603 GB, free: 2.551 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.638e-05/0.1385, allocations: 19.38 kB / 0.6603 GB, free: 2.523 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001345/0.1387, allocations: 0.4922 MB / 0.6608 GB, free: 2.02 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.214e-06/0.1387, allocations: 4.125 kB / 0.6608 GB, free: 2.016 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.541e-05/0.1387, allocations: 31.05 kB / 0.6608 GB, free: 1.973 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.605e-05/0.1387, allocations: 35 kB / 0.6608 GB, free: 1.926 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1387, allocations: 0 / 0.6608 GB, free: 1.926 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.505e-05/0.1388, allocations: 53.62 kB / 0.6609 GB, free: 1.867 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.1388, allocations: 4 kB / 0.6609 GB, free: 1.863 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.1388, allocations: 0 / 0.6609 GB, free: 1.863 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.1388, allocations: 8.094 kB / 0.6609 GB, free: 1.855 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.977e-05/0.1389, allocations: 4 kB / 0.6609 GB, free: 1.852 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.887e-06/0.1389, allocations: 3.984 kB / 0.6609 GB, free: 1.848 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.094e-05/0.1389, allocations: 7.953 kB / 0.6609 GB, free: 1.84 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.286e-06/0.1389, allocations: 4.188 kB / 0.6609 GB, free: 1.836 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 7.003e-05/0.139, allocations: 164.5 kB / 0.6611 GB, free: 1.664 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.14e-05/0.139, allocations: 0 / 0.6611 GB, free: 1.664 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.062e-05/0.139, allocations: 6.75 kB / 0.6611 GB, free: 1.664 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-06/0.139, allocations: 0 / 0.6611 GB, free: 1.664 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.139, allocations: 8 kB / 0.6611 GB, free: 1.656 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.139, allocations: 4 kB / 0.6611 GB, free: 1.652 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001742/0.1392, allocations: 380.9 kB / 0.6614 GB, free: 1.242 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.41e-07/0.1392, allocations: 0 / 0.6614 GB, free: 1.242 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.983e-06/0.1392, allocations: 0 / 0.6614 GB, free: 1.242 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.1392, allocations: 0 / 0.6614 GB, free: 1.242 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.778e-06/0.1392, allocations: 4 kB / 0.6614 GB, free: 1.238 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.61e-07/0.1392, allocations: 0 / 0.6614 GB, free: 1.238 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.1392, allocations: 4 kB / 0.6614 GB, free: 1.234 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.801e-05/0.1392, allocations: 76.3 kB / 0.6615 GB, free: 1.137 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.701e-06/0.1393, allocations: 4 kB / 0.6615 GB, free: 1.133 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.496e-06/0.1393, allocations: 4.062 kB / 0.6615 GB, free: 1.129 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.235e-05/0.1393, allocations: 0 / 0.6615 GB, free: 1.129 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.446e-06/0.1393, allocations: 4 kB / 0.6615 GB, free: 1.125 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.62e-07/0.1393, allocations: 0 / 0.6615 GB, free: 1.125 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.49e-05/0.1393, allocations: 127.2 kB / 0.6617 GB, free: 1 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.1393, allocations: 0 / 0.6617 GB, free: 1 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001141/0.1395, allocations: 8 kB / 0.6617 GB, free: 0.9922 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 8.979e-05/0.1396, allocations: 95.25 kB / 0.6617 GB, free: 0.8906 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 5.95e-05/0.1396, allocations: 27.67 kB / 0.6618 GB, free: 0.8594 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1396, allocations: 4.062 kB / 0.6618 GB, free: 0.8555 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.903e-06/0.1396, allocations: 11.69 kB / 0.6618 GB, free: 0.8398 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001426/0.1398, allocations: 9.828 kB / 0.6618 GB, free: 0.832 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003269/0.1401, allocations: 118.4 kB / 0.6619 GB, free: 0.6875 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.788e-05/0.1401, allocations: 55.34 kB / 0.662 GB, free: 0.6133 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.382e-05/0.1402, allocations: 12.14 kB / 0.662 GB, free: 0.6016 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.807e-05/0.1402, allocations: 86.11 kB / 0.6621 GB, free: 0.5156 MB / 0.6198 GB Notification: Performance of SimCode: time 5.41e-07/0.1402, allocations: 4 kB / 0.6621 GB, free: 0.5117 MB / 0.6198 GB Notification: Performance of Templates: time 0.002249/0.1425, allocations: 0.6133 MB / 0.6627 GB, free: 15.95 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.043167339172214]