Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001504/0.001504, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001317/0.001317, allocations: 173 kB / 23.49 MB, free: 1.059 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.8 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8511/0.8511, allocations: 154.8 MB / 415.1 MB, free: 0.4961 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 0.5205 GB, free: 2.324 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.118e-05/3.286e-05, allocations: 2.312 kB / 0.5205 GB, free: 2.32 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1418/0.1419, allocations: 143.9 MB / 0.661 GB, free: 2.121 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0001373/0.142, allocations: 47.8 kB / 0.6611 GB, free: 2.074 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.573e-05/0.142, allocations: 0 / 0.6611 GB, free: 2.074 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 9.8e-05/0.1421, allocations: 7.922 kB / 0.6611 GB, free: 2.066 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.159e-05/0.1422, allocations: 19.86 kB / 0.6611 GB, free: 2.047 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006161/0.1428, allocations: 211.1 kB / 0.6613 GB, free: 1.84 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.928e-05/0.1429, allocations: 35.84 kB / 0.6614 GB, free: 1.805 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 2.824e-05/0.1429, allocations: 0 / 0.6614 GB, free: 1.805 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.139e-05/0.143, allocations: 27.91 kB / 0.6614 GB, free: 1.777 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.129e-05/0.143, allocations: 11.92 kB / 0.6614 GB, free: 1.766 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.287e-05/0.143, allocations: 8 kB / 0.6614 GB, free: 1.758 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003082/0.1433, allocations: 167.3 kB / 0.6616 GB, free: 1.594 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.028e-05/0.1434, allocations: 4 kB / 0.6616 GB, free: 1.59 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.985e-05/0.1434, allocations: 4 kB / 0.6616 GB, free: 1.586 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002003/0.1436, allocations: 115.7 kB / 0.6617 GB, free: 1.473 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.1436, allocations: 0 / 0.6617 GB, free: 1.473 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.385e-06/0.1436, allocations: 0 / 0.6617 GB, free: 1.473 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.1436, allocations: 0 / 0.6617 GB, free: 1.473 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.000351/0.144, allocations: 368.2 kB / 0.662 GB, free: 1.078 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.144, allocations: 8.031 kB / 0.662 GB, free: 1.07 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000311/0.1443, allocations: 45.14 kB / 0.6621 GB, free: 1.027 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.486e-05/0.1444, allocations: 108.6 kB / 0.6622 GB, free: 0.8945 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.602e-05/0.1444, allocations: 55.97 kB / 0.6622 GB, free: 0.8281 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.929e-06/0.1445, allocations: 8.109 kB / 0.6622 GB, free: 0.8203 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001116/0.1446, allocations: 80.09 kB / 0.6623 GB, free: 0.7266 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.458e-06/0.1446, allocations: 0 / 0.6623 GB, free: 0.7266 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-06/0.1446, allocations: 0 / 0.6623 GB, free: 0.7266 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.004e-05/0.1446, allocations: 7.984 kB / 0.6623 GB, free: 0.7188 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.698e-05/0.1446, allocations: 11.98 kB / 0.6623 GB, free: 0.707 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002492/0.1449, allocations: 263.7 kB / 0.6626 GB, free: 424 kB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 3.658e-05/0.1449, allocations: 27.06 kB / 0.6626 GB, free: 384 kB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.934e-05/0.1449, allocations: 15.75 kB / 0.6626 GB, free: 364 kB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.275e-05/0.145, allocations: 15.98 kB / 0.6626 GB, free: 348 kB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.929e-05/0.145, allocations: 33.39 kB / 0.6627 GB, free: 304 kB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 8.22e-07/0.145, allocations: 0 / 0.6627 GB, free: 304 kB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0001586/0.1452, allocations: 65.61 kB / 0.6627 GB, free: 232 kB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.474e-05/0.1452, allocations: 51.41 kB / 0.6628 GB, free: 168 kB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.25e-05/0.1453, allocations: 161.9 kB / 0.6629 GB, free: 15.99 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.105e-05/0.1453, allocations: 25.7 kB / 0.663 GB, free: 15.96 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.388e-05/0.1453, allocations: 134.8 kB / 0.6631 GB, free: 15.82 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.312e-06/0.1454, allocations: 7.891 kB / 0.6631 GB, free: 15.81 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.798e-05/0.1454, allocations: 27.36 kB / 0.6631 GB, free: 15.78 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.1455, allocations: 496.1 kB / 0.6636 GB, free: 15.28 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.091e-05/0.1455, allocations: 8 kB / 0.6636 GB, free: 15.27 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.198e-05/0.1455, allocations: 27.06 kB / 0.6636 GB, free: 15.23 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.762e-05/0.1456, allocations: 47.02 kB / 0.6637 GB, free: 15.18 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.1456, allocations: 0 / 0.6637 GB, free: 15.18 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 4.964e-05/0.1456, allocations: 49.64 kB / 0.6637 GB, free: 15.12 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.033e-05/0.1456, allocations: 4 kB / 0.6637 GB, free: 15.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.455e-06/0.1456, allocations: 0 / 0.6637 GB, free: 15.12 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.508e-06/0.1456, allocations: 4 kB / 0.6637 GB, free: 15.11 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.305e-05/0.1457, allocations: 7.984 kB / 0.6637 GB, free: 15.11 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.1457, allocations: 4.094 kB / 0.6637 GB, free: 15.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.653e-05/0.1457, allocations: 7.938 kB / 0.6638 GB, free: 15.09 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.296e-06/0.1457, allocations: 4 kB / 0.6638 GB, free: 15.09 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.882e-05/0.1458, allocations: 160.5 kB / 0.6639 GB, free: 14.92 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.588e-05/0.1458, allocations: 11.89 kB / 0.6639 GB, free: 14.91 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.783e-05/0.1458, allocations: 3.312 kB / 0.6639 GB, free: 14.9 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-06/0.1458, allocations: 4 kB / 0.6639 GB, free: 14.9 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.1458, allocations: 0 / 0.6639 GB, free: 14.9 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.1458, allocations: 0 / 0.6639 GB, free: 14.9 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002092/0.146, allocations: 420 kB / 0.6643 GB, free: 14.44 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.146, allocations: 3.938 kB / 0.6643 GB, free: 14.43 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.162e-05/0.146, allocations: 4 kB / 0.6643 GB, free: 14.43 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.32e-07/0.146, allocations: 0 / 0.6643 GB, free: 14.43 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.961e-06/0.146, allocations: 4 kB / 0.6643 GB, free: 14.43 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.146, allocations: 0 / 0.6643 GB, free: 14.43 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.146, allocations: 0 / 0.6643 GB, free: 14.43 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.259e-05/0.1461, allocations: 88.06 kB / 0.6644 GB, free: 14.31 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.679e-06/0.1461, allocations: 0 / 0.6644 GB, free: 14.31 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.127e-06/0.1461, allocations: 0 / 0.6644 GB, free: 14.31 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.696e-05/0.1461, allocations: 4.062 kB / 0.6644 GB, free: 14.31 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.38e-05/0.1461, allocations: 15.86 kB / 0.6644 GB, free: 14.29 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.534e-06/0.1461, allocations: 4 kB / 0.6644 GB, free: 14.29 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.209e-05/0.1462, allocations: 123.2 kB / 0.6646 GB, free: 14.17 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.1e-08/0.1462, allocations: 0 / 0.6646 GB, free: 14.17 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001195/0.1463, allocations: 11.94 kB / 0.6646 GB, free: 14.16 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 8.49e-05/0.1464, allocations: 95.67 kB / 0.6647 GB, free: 14.05 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 5.571e-05/0.1464, allocations: 23.8 kB / 0.6647 GB, free: 14.03 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.1464, allocations: 8.062 kB / 0.6647 GB, free: 14.02 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.875e-06/0.1464, allocations: 11.62 kB / 0.6647 GB, free: 14 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001378/0.1466, allocations: 13.55 kB / 0.6647 GB, free: 13.99 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003472/0.1469, allocations: 130 kB / 0.6648 GB, free: 13.83 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.918e-05/0.147, allocations: 55.36 kB / 0.6649 GB, free: 13.76 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.169e-05/0.147, allocations: 16.09 kB / 0.6649 GB, free: 13.74 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.699e-05/0.147, allocations: 8.5 kB / 0.6649 GB, free: 13.73 MB / 0.6355 GB Notification: Performance of SimCode: time 3.71e-07/0.147, allocations: 0 / 0.6649 GB, free: 13.73 MB / 0.6355 GB Notification: Performance of Templates: time 0.001953/0.149, allocations: 0.6901 MB / 0.6656 GB, free: 13.06 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.494677718961611]