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.001011/0.001011, allocations: 82.02 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.00102/0.00102, allocations: 174 kB / 23.28 MB, free: 1.223 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.002/1.002, 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.9226/0.9226, allocations: 154.6 MB / 414.8 MB, free: 0.5469 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.573e-06/1.573e-06, allocations: 0 / 0.5207 GB, free: 1.984 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.687e-05/1.845e-05, allocations: 4.141 kB / 0.5207 GB, free: 1.98 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1352/0.1352, allocations: 141.5 MB / 0.6589 GB, free: 4.191 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0001445/0.1353, allocations: 43.81 kB / 0.6589 GB, free: 4.148 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.735e-05/0.1354, allocations: 0 / 0.6589 GB, free: 4.148 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001525/0.1355, allocations: 7.922 kB / 0.6589 GB, free: 4.141 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.408e-05/0.1356, allocations: 19.86 kB / 0.6589 GB, free: 4.121 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.00077/0.1364, allocations: 231 kB / 0.6592 GB, free: 3.895 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.432e-05/0.1365, allocations: 31.86 kB / 0.6592 GB, free: 3.863 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.726e-05/0.1365, allocations: 0 / 0.6592 GB, free: 3.863 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.637e-05/0.1366, allocations: 23.97 kB / 0.6592 GB, free: 3.84 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.474e-05/0.1366, allocations: 11.98 kB / 0.6592 GB, free: 3.828 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.242e-05/0.1367, allocations: 0 / 0.6592 GB, free: 3.828 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000338/0.137, allocations: 175.3 kB / 0.6594 GB, free: 3.656 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.867e-05/0.137, allocations: 8 kB / 0.6594 GB, free: 3.648 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.976e-05/0.1371, allocations: 15.92 kB / 0.6594 GB, free: 3.633 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002072/0.1373, allocations: 107.7 kB / 0.6595 GB, free: 3.527 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.1373, allocations: 0 / 0.6595 GB, free: 3.527 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.202e-06/0.1373, allocations: 0 / 0.6595 GB, free: 3.527 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.078e-06/0.1373, allocations: 0 / 0.6595 GB, free: 3.527 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.0003781/0.1377, allocations: 368.2 kB / 0.6599 GB, free: 3.133 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.1377, allocations: 15.97 kB / 0.6599 GB, free: 3.117 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002603/0.138, allocations: 37.14 kB / 0.6599 GB, free: 3.082 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.491e-05/0.1381, allocations: 108.6 kB / 0.66 GB, free: 2.949 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.452e-05/0.1381, allocations: 51.97 kB / 0.6601 GB, free: 2.887 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.149e-05/0.1381, allocations: 4.125 kB / 0.6601 GB, free: 2.883 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001391/0.1383, allocations: 88.02 kB / 0.6602 GB, free: 2.781 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.1383, allocations: 0 / 0.6602 GB, free: 2.781 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.1383, allocations: 0 / 0.6602 GB, free: 2.781 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.015e-05/0.1383, allocations: 4 kB / 0.6602 GB, free: 2.777 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.097e-05/0.1383, allocations: 4 kB / 0.6602 GB, free: 2.773 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002934/0.1386, allocations: 248.4 kB / 0.6604 GB, free: 2.504 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.38e-05/0.1387, allocations: 31.06 kB / 0.6604 GB, free: 2.461 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.249e-05/0.1387, allocations: 11.62 kB / 0.6604 GB, free: 2.445 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.854e-05/0.1388, allocations: 16.05 kB / 0.6605 GB, free: 2.43 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.803e-05/0.1388, allocations: 33.39 kB / 0.6605 GB, free: 2.387 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.443e-06/0.1388, allocations: 4 kB / 0.6605 GB, free: 2.383 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0001789/0.139, allocations: 57.67 kB / 0.6605 GB, free: 2.32 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.433e-05/0.139, allocations: 51.41 kB / 0.6606 GB, free: 2.258 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.069e-05/0.1391, allocations: 169.9 kB / 0.6608 GB, free: 2.074 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.17e-05/0.1391, allocations: 25.7 kB / 0.6608 GB, free: 2.043 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.108e-05/0.1391, allocations: 130.8 kB / 0.6609 GB, free: 1.91 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.173e-06/0.1391, allocations: 7.953 kB / 0.6609 GB, free: 1.902 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.736e-05/0.1392, allocations: 23.36 kB / 0.6609 GB, free: 1.871 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.1393, allocations: 0.4922 MB / 0.6614 GB, free: 1.367 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.462e-06/0.1393, allocations: 0 / 0.6614 GB, free: 1.367 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.503e-05/0.1393, allocations: 27.06 kB / 0.6614 GB, free: 1.328 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.027e-05/0.1394, allocations: 47.02 kB / 0.6615 GB, free: 1.27 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1394, allocations: 0 / 0.6615 GB, free: 1.27 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.068e-05/0.1394, allocations: 53.58 kB / 0.6615 GB, free: 1.211 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.1395, allocations: 5.719 kB / 0.6615 GB, free: 1.207 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.1395, allocations: 0 / 0.6615 GB, free: 1.207 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.1395, allocations: 0 / 0.6615 GB, free: 1.207 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.08e-05/0.1395, allocations: 11.98 kB / 0.6616 GB, free: 1.195 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.246e-06/0.1395, allocations: 0 / 0.6616 GB, free: 1.195 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.054e-05/0.1395, allocations: 12.03 kB / 0.6616 GB, free: 1.184 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.827e-06/0.1395, allocations: 3.938 kB / 0.6616 GB, free: 1.18 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.595e-05/0.1396, allocations: 156.5 kB / 0.6617 GB, free: 1.016 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.434e-05/0.1396, allocations: 7.953 kB / 0.6617 GB, free: 1.008 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.073e-05/0.1397, allocations: 10.91 kB / 0.6617 GB, free: 1 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.1397, allocations: 0 / 0.6617 GB, free: 1 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.833e-06/0.1397, allocations: 0 / 0.6617 GB, free: 1 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.1397, allocations: 4 kB / 0.6617 GB, free: 0.9961 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002127/0.1399, allocations: 408.6 kB / 0.6621 GB, free: 0.5547 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1399, allocations: 64 / 0.6621 GB, free: 0.5547 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.376e-05/0.1399, allocations: 11.98 kB / 0.6621 GB, free: 0.543 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.1399, allocations: 0 / 0.6621 GB, free: 0.543 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.346e-06/0.1399, allocations: 0 / 0.6621 GB, free: 0.543 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.1399, allocations: 0 / 0.6621 GB, free: 0.543 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1399, allocations: 0 / 0.6621 GB, free: 0.543 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.116e-05/0.14, allocations: 84.02 kB / 0.6622 GB, free: 444 kB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.235e-06/0.14, allocations: 7.984 kB / 0.6622 GB, free: 436 kB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.082e-05/0.14, allocations: 4 kB / 0.6622 GB, free: 432 kB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.047e-05/0.14, allocations: 0 / 0.6622 GB, free: 432 kB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.07e-05/0.14, allocations: 4 kB / 0.6622 GB, free: 428 kB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-06/0.14, allocations: 4.031 kB / 0.6622 GB, free: 424 kB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.54e-05/0.1401, allocations: 127.2 kB / 0.6624 GB, free: 296 kB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.1401, allocations: 0 / 0.6624 GB, free: 296 kB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001229/0.1402, allocations: 8 kB / 0.6624 GB, free: 288 kB / 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.0001099/0.1403, allocations: 99.17 kB / 0.6625 GB, free: 180 kB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 6.127e-05/0.1404, allocations: 23.62 kB / 0.6625 GB, free: 152 kB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1404, allocations: 4.188 kB / 0.6625 GB, free: 148 kB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.598e-06/0.1404, allocations: 19.61 kB / 0.6625 GB, free: 124 kB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001564/0.1405, allocations: 15.92 kB / 0.6625 GB, free: 108 kB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003771/0.1409, allocations: 126.1 kB / 0.6626 GB, free: 15.95 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.071e-05/0.1409, allocations: 55.36 kB / 0.6627 GB, free: 15.88 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.748e-05/0.141, allocations: 8.547 kB / 0.6627 GB, free: 15.87 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.846e-05/0.1411, allocations: 86.17 kB / 0.6628 GB, free: 15.78 MB / 0.6355 GB Notification: Performance of SimCode: time 1.153e-06/0.1411, allocations: 0 / 0.6628 GB, free: 15.78 MB / 0.6355 GB Notification: Performance of Templates: time 0.00247/0.1435, allocations: 0.7802 MB / 0.6636 GB, free: 15.02 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.263667571824044]