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.000975/0.000975, 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.001471/0.001471, 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.015/1.015, 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.8431/0.8431, allocations: 154.6 MB / 414.5 MB, free: 0.6953 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.543e-06/1.543e-06, allocations: 0 / 0.5203 GB, free: 2.254 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.639e-05/1.793e-05, allocations: 2.312 kB / 0.5203 GB, free: 2.25 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1429/0.1429, allocations: 144.1 MB / 0.661 GB, free: 1.785 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0001133/0.143, allocations: 55.73 kB / 0.6611 GB, free: 1.73 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.368e-05/0.1431, allocations: 0 / 0.6611 GB, free: 1.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001187/0.1432, allocations: 4 kB / 0.6611 GB, free: 1.727 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.805e-05/0.1433, allocations: 15.84 kB / 0.6611 GB, free: 1.711 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000648/0.1439, allocations: 227.1 kB / 0.6613 GB, free: 1.488 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.979e-05/0.144, allocations: 35.84 kB / 0.6614 GB, free: 1.453 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.36e-05/0.144, allocations: 4 kB / 0.6614 GB, free: 1.449 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.413e-05/0.1441, allocations: 23.91 kB / 0.6614 GB, free: 1.426 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.644e-05/0.1441, allocations: 11.98 kB / 0.6614 GB, free: 1.414 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.247e-05/0.1441, allocations: 0 / 0.6614 GB, free: 1.414 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004112/0.1445, allocations: 175.3 kB / 0.6616 GB, free: 1.242 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.398e-05/0.1446, allocations: 12 kB / 0.6616 GB, free: 1.23 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.055e-05/0.1446, allocations: 7.984 kB / 0.6616 GB, free: 1.223 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001838/0.1448, allocations: 115.7 kB / 0.6617 GB, free: 1.109 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.1448, allocations: 0 / 0.6617 GB, free: 1.109 MB / 0.6198 GB Notification: Performance of FrontEnd: time 5.24e-06/0.1448, allocations: 0 / 0.6617 GB, free: 1.109 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.1448, allocations: 0 / 0.6617 GB, free: 1.109 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.000335/0.1451, allocations: 364.2 kB / 0.662 GB, free: 0.7188 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.1452, allocations: 8.031 kB / 0.6621 GB, free: 0.7109 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002812/0.1455, allocations: 37.14 kB / 0.6621 GB, free: 0.6758 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.942e-05/0.1455, allocations: 108.6 kB / 0.6622 GB, free: 0.543 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.23e-05/0.1456, allocations: 55.95 kB / 0.6622 GB, free: 488 kB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.743e-05/0.1456, allocations: 12.12 kB / 0.6623 GB, free: 476 kB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001244/0.1457, allocations: 80.08 kB / 0.6623 GB, free: 380 kB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.1457, allocations: 0 / 0.6623 GB, free: 380 kB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.938e-06/0.1458, allocations: 0 / 0.6623 GB, free: 380 kB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.567e-05/0.1458, allocations: 4 kB / 0.6623 GB, free: 376 kB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.003e-05/0.1458, allocations: 7.938 kB / 0.6623 GB, free: 368 kB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002849/0.1461, allocations: 259.7 kB / 0.6626 GB, free: 72 kB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.072e-05/0.1461, allocations: 39.09 kB / 0.6626 GB, free: 20 kB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.727e-05/0.1462, allocations: 11.69 kB / 0.6626 GB, free: 4 kB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001021/0.1463, allocations: 12.05 kB / 0.6627 GB, free: 15.99 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.505e-05/0.1463, allocations: 49.33 kB / 0.6627 GB, free: 15.93 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 8.02e-07/0.1463, allocations: 0 / 0.6627 GB, free: 15.93 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001777/0.1465, allocations: 53.52 kB / 0.6628 GB, free: 15.88 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.251e-05/0.1465, allocations: 55.41 kB / 0.6628 GB, free: 15.81 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.47e-05/0.1465, allocations: 162.1 kB / 0.663 GB, free: 15.63 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.046e-05/0.1466, allocations: 25.7 kB / 0.663 GB, free: 15.6 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.542e-05/0.1466, allocations: 142.8 kB / 0.6631 GB, free: 15.46 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.37e-06/0.1466, allocations: 3.953 kB / 0.6631 GB, free: 15.45 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.36e-05/0.1466, allocations: 19.38 kB / 0.6631 GB, free: 15.43 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.1467, allocations: 0.4883 MB / 0.6636 GB, free: 14.93 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.196e-05/0.1467, allocations: 4 kB / 0.6636 GB, free: 14.92 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.397e-05/0.1468, allocations: 31.23 kB / 0.6637 GB, free: 14.88 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.503e-05/0.1468, allocations: 43 kB / 0.6637 GB, free: 14.82 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1468, allocations: 0 / 0.6637 GB, free: 14.82 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.682e-05/0.1469, allocations: 53.72 kB / 0.6637 GB, free: 14.77 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/0.1469, allocations: 4 kB / 0.6638 GB, free: 14.76 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.1469, allocations: 0 / 0.6638 GB, free: 14.76 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.1469, allocations: 3.984 kB / 0.6638 GB, free: 14.76 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.119e-05/0.1469, allocations: 8 kB / 0.6638 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.1469, allocations: 3.938 kB / 0.6638 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.645e-05/0.147, allocations: 3.938 kB / 0.6638 GB, free: 14.74 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.376e-06/0.147, allocations: 8.094 kB / 0.6638 GB, free: 14.73 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 5.606e-05/0.147, allocations: 160.5 kB / 0.6639 GB, free: 14.57 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.669e-05/0.147, allocations: 7.953 kB / 0.6639 GB, free: 14.56 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.46e-05/0.1471, allocations: 14.89 kB / 0.664 GB, free: 14.55 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.1471, allocations: 0 / 0.664 GB, free: 14.55 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.886e-06/0.1471, allocations: 0 / 0.664 GB, free: 14.55 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.1471, allocations: 4 kB / 0.664 GB, free: 14.54 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001829/0.1472, allocations: 416 kB / 0.6644 GB, free: 14.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.1472, allocations: 0 / 0.6644 GB, free: 14.09 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.198e-05/0.1473, allocations: 4 kB / 0.6644 GB, free: 14.08 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.1473, allocations: 4.062 kB / 0.6644 GB, free: 14.08 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.559e-06/0.1473, allocations: 0 / 0.6644 GB, free: 14.08 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.01e-07/0.1473, allocations: 0 / 0.6644 GB, free: 14.08 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.1473, allocations: 7.938 kB / 0.6644 GB, free: 14.07 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.354e-05/0.1473, allocations: 88 kB / 0.6645 GB, free: 13.96 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.678e-06/0.1473, allocations: 4 kB / 0.6645 GB, free: 13.95 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.137e-06/0.1473, allocations: 0 / 0.6645 GB, free: 13.95 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.253e-05/0.1474, allocations: 7.984 kB / 0.6645 GB, free: 13.95 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.35e-05/0.1474, allocations: 7.938 kB / 0.6645 GB, free: 13.94 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-06/0.1474, allocations: 0 / 0.6645 GB, free: 13.94 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.95e-05/0.1474, allocations: 127.2 kB / 0.6646 GB, free: 13.81 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.1474, allocations: 0 / 0.6646 GB, free: 13.81 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001257/0.1475, allocations: 8 kB / 0.6646 GB, free: 13.8 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.1476, allocations: 99.23 kB / 0.6647 GB, free: 13.7 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.028e-05/0.1477, allocations: 23.62 kB / 0.6647 GB, free: 13.67 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.1477, allocations: 0 / 0.6647 GB, free: 13.67 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.155e-06/0.1477, allocations: 11.94 kB / 0.6647 GB, free: 13.66 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001636/0.1479, allocations: 28.03 kB / 0.6648 GB, free: 13.63 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004026/0.1483, allocations: 126 kB / 0.6649 GB, free: 13.47 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.975e-05/0.1483, allocations: 59.34 kB / 0.6649 GB, free: 13.39 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.534e-05/0.1484, allocations: 4 kB / 0.6649 GB, free: 13.39 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.046e-05/0.1484, allocations: 12.5 kB / 0.6649 GB, free: 13.38 MB / 0.6355 GB Notification: Performance of SimCode: time 5.01e-07/0.1484, allocations: 0 / 0.6649 GB, free: 13.38 MB / 0.6355 GB Notification: Performance of Templates: time 0.002242/0.1506, allocations: 0.6806 MB / 0.6656 GB, free: 12.72 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.403416292276233]