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.0006914/0.0006914, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001002/0.001693, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001032/0.001032, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001343/0.002376, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.002/1.002, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09373/1.096, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.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.7875/0.7875, allocations: 154.6 MB / 398.8 MB, free: 384 kB / 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2556/1.043, allocations: 49.05 MB / 447.8 MB, free: 6.555 MB / 426.7 MB " [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.212e-06/1.212e-06, allocations: 0 / 449.2 MB, free: 5.25 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.088e-05/1.209e-05, allocations: 2.312 kB / 449.2 MB, free: 5.246 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.131/0.131, allocations: 143.6 MB / 0.5788 GB, free: 5.633 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0001676/0.1312, allocations: 55.67 kB / 0.5789 GB, free: 5.578 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.533e-05/0.1312, allocations: 0 / 0.5789 GB, free: 5.578 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0001129/0.1313, allocations: 7.938 kB / 0.5789 GB, free: 5.57 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 8.01e-05/0.1314, allocations: 7.984 kB / 0.5789 GB, free: 5.562 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004359/0.1318, allocations: 115.5 kB / 0.579 GB, free: 5.449 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001077/0.1319, allocations: 35.86 kB / 0.579 GB, free: 5.414 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 5.025e-05/0.132, allocations: 4 kB / 0.579 GB, free: 5.41 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 8.432e-05/0.1321, allocations: 31.89 kB / 0.5791 GB, free: 5.379 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 9.279e-05/0.1322, allocations: 8 kB / 0.5791 GB, free: 5.371 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.472e-05/0.1322, allocations: 0 / 0.5791 GB, free: 5.371 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002549/0.1324, allocations: 83.66 kB / 0.5792 GB, free: 5.289 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 6.92e-05/0.1325, allocations: 4 kB / 0.5792 GB, free: 5.285 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 2.301e-05/0.1325, allocations: 11.94 kB / 0.5792 GB, free: 5.273 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.000166/0.1327, allocations: 55.83 kB / 0.5792 GB, free: 5.219 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 1.911e-05/0.1327, allocations: 4 kB / 0.5792 GB, free: 5.215 MB / 0.5573 GB Notification: Performance of FrontEnd: time 3.176e-06/0.1327, allocations: 4 kB / 0.5792 GB, free: 5.211 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.793e-05/0.1327, allocations: 0 / 0.5792 GB, free: 5.211 MB / 0.5573 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.0004396/0.1332, allocations: 246.7 kB / 0.5795 GB, free: 4.949 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.1332, allocations: 12.03 kB / 0.5795 GB, free: 4.938 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002763/0.1335, allocations: 102 kB / 0.5796 GB, free: 4.82 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001018/0.1336, allocations: 109.7 kB / 0.5797 GB, free: 4.688 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.882e-05/0.1336, allocations: 59.97 kB / 0.5797 GB, free: 4.617 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.658e-05/0.1336, allocations: 4.125 kB / 0.5797 GB, free: 4.613 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001314/0.1338, allocations: 82.92 kB / 0.5798 GB, free: 4.516 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.1338, allocations: 0 / 0.5798 GB, free: 4.516 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.807e-06/0.1338, allocations: 0 / 0.5798 GB, free: 4.516 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.981e-05/0.1338, allocations: 0 / 0.5798 GB, free: 4.516 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.375e-05/0.1338, allocations: 11.98 kB / 0.5798 GB, free: 4.504 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002668/0.1341, allocations: 169.8 kB / 0.58 GB, free: 4.32 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 4.453e-05/0.1341, allocations: 22.56 kB / 0.58 GB, free: 4.289 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.114e-05/0.1342, allocations: 4.859 kB / 0.58 GB, free: 4.281 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 5.47e-06/0.1342, allocations: 4 kB / 0.58 GB, free: 4.277 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/0.1342, allocations: 34.62 kB / 0.5801 GB, free: 4.234 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=1): time 8.72e-07/0.1342, allocations: 3.938 kB / 0.5801 GB, free: 4.23 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1): time 0.0001203/0.1343, allocations: 37.67 kB / 0.5801 GB, free: 4.188 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.949e-05/0.1343, allocations: 51.41 kB / 0.5801 GB, free: 4.125 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.996e-05/0.1344, allocations: 114.7 kB / 0.5803 GB, free: 4 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.316e-05/0.1344, allocations: 25.7 kB / 0.5803 GB, free: 3.969 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 5.12e-05/0.1345, allocations: 95.98 kB / 0.5804 GB, free: 3.871 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 5.771e-06/0.1345, allocations: 0 / 0.5804 GB, free: 3.871 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.606e-05/0.1345, allocations: 13.72 kB / 0.5804 GB, free: 3.852 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.1346, allocations: 319 kB / 0.5807 GB, free: 3.531 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.676e-06/0.1346, allocations: 7.984 kB / 0.5807 GB, free: 3.523 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.237e-05/0.1347, allocations: 22.58 kB / 0.5807 GB, free: 3.492 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.538e-05/0.1347, allocations: 37.27 kB / 0.5808 GB, free: 3.445 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.1347, allocations: 0 / 0.5808 GB, free: 3.445 MB / 0.5573 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.418e-05/0.1347, allocations: 41.64 kB / 0.5808 GB, free: 3.398 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.1348, allocations: 7.984 kB / 0.5808 GB, free: 3.391 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.1348, allocations: 8.094 kB / 0.5808 GB, free: 3.383 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.1348, allocations: 0 / 0.5808 GB, free: 3.383 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.264e-05/0.1348, allocations: 4 kB / 0.5808 GB, free: 3.379 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.1348, allocations: 4 kB / 0.5808 GB, free: 3.375 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.206e-05/0.1349, allocations: 3.953 kB / 0.5808 GB, free: 3.371 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.13e-06/0.1349, allocations: 4.25 kB / 0.5808 GB, free: 3.367 MB / 0.5573 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.955e-05/0.1349, allocations: 120.5 kB / 0.5809 GB, free: 3.238 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.351e-05/0.135, allocations: 0 / 0.5809 GB, free: 3.238 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.522e-05/0.135, allocations: 11.14 kB / 0.581 GB, free: 3.227 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.317e-06/0.135, allocations: 4 kB / 0.581 GB, free: 3.223 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-06/0.135, allocations: 4 kB / 0.581 GB, free: 3.219 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.135, allocations: 0 / 0.581 GB, free: 3.219 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000152/0.1351, allocations: 258.9 kB / 0.5812 GB, free: 2.938 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.31e-07/0.1351, allocations: 0 / 0.5812 GB, free: 2.938 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.32e-06/0.1351, allocations: 4 kB / 0.5812 GB, free: 2.934 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 5e-06/0.1351, allocations: 0 / 0.5812 GB, free: 2.934 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.51e-07/0.1351, allocations: 0 / 0.5812 GB, free: 2.934 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.725e-06/0.1352, allocations: 0 / 0.5812 GB, free: 2.934 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.41e-07/0.1352, allocations: 0 / 0.5812 GB, free: 2.934 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.1352, allocations: 0 / 0.5812 GB, free: 2.934 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.391e-05/0.1352, allocations: 73.03 kB / 0.5813 GB, free: 2.844 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.338e-06/0.1352, allocations: 3.938 kB / 0.5813 GB, free: 2.84 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.31e-05/0.1352, allocations: 4 kB / 0.5813 GB, free: 2.836 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.837e-06/0.1353, allocations: 0 / 0.5813 GB, free: 2.836 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.62e-07/0.1353, allocations: 0 / 0.5813 GB, free: 2.836 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 1.157e-05/0.1353, allocations: 12.84 kB / 0.5813 GB, free: 2.82 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4e-08/0.1353, allocations: 0 / 0.5813 GB, free: 2.82 MB / 0.5573 GB Notification: Performance of remove unused functions: time 9.525e-05/0.1354, allocations: 8 kB / 0.5813 GB, free: 2.812 MB / 0.5573 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 7.938e-05/0.1354, allocations: 76.42 kB / 0.5814 GB, free: 2.73 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 5.988e-05/0.1355, allocations: 24.83 kB / 0.5814 GB, free: 2.703 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.1355, allocations: 0 / 0.5814 GB, free: 2.703 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 8.916e-06/0.1355, allocations: 8.859 kB / 0.5814 GB, free: 2.691 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001274/0.1356, allocations: 47.91 kB / 0.5815 GB, free: 2.641 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006571/0.1363, allocations: 130.3 kB / 0.5816 GB, free: 2.488 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.607e-05/0.1363, allocations: 55.73 kB / 0.5816 GB, free: 2.414 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 3.034e-05/0.1364, allocations: 4 kB / 0.5816 GB, free: 2.41 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.354e-05/0.1364, allocations: 63.34 kB / 0.5817 GB, free: 2.348 MB / 0.5573 GB Notification: Performance of SimCode: time 5.01e-07/0.1364, allocations: 3.938 kB / 0.5817 GB, free: 2.344 MB / 0.5573 GB Notification: Performance of Templates: time 0.0019/0.1383, allocations: 0.6357 MB / 0.5823 GB, free: 1.75 MB / 0.5573 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: 3.60018209554255]