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.0008156/0.0008156, allocations: 81.17 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.0009493/0.0009493, allocations: 169 kB / 23.27 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.025/1.025, allocations: 177.2 MB / 203.7 MB, free: 5.52 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.8698/0.8698, allocations: 154.9 MB / 415.1 MB, free: 284 kB / 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 2.144e-06/2.144e-06, allocations: 3.938 kB / 0.5211 GB, free: 1.582 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.94e-05/3.154e-05, allocations: 2.859 kB / 0.5211 GB, free: 1.578 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1376/0.1376, allocations: 141.5 MB / 0.6592 GB, free: 3.789 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0001585/0.1377, allocations: 55.73 kB / 0.6593 GB, free: 3.734 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.353e-05/0.1378, allocations: 0 / 0.6593 GB, free: 3.734 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001253/0.1379, allocations: 4 kB / 0.6593 GB, free: 3.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.384e-05/0.138, allocations: 19.8 kB / 0.6593 GB, free: 3.711 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006879/0.1387, allocations: 223.1 kB / 0.6595 GB, free: 3.492 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.805e-05/0.1388, allocations: 31.84 kB / 0.6596 GB, free: 3.461 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.88e-05/0.1388, allocations: 7.984 kB / 0.6596 GB, free: 3.453 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.446e-05/0.1388, allocations: 15.98 kB / 0.6596 GB, free: 3.438 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.29e-05/0.1389, allocations: 15.92 kB / 0.6596 GB, free: 3.422 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.171e-05/0.1389, allocations: 0 / 0.6596 GB, free: 3.422 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002797/0.1392, allocations: 175.3 kB / 0.6598 GB, free: 3.25 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.212e-05/0.1392, allocations: 11.97 kB / 0.6598 GB, free: 3.238 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.525e-05/0.1393, allocations: 4 kB / 0.6598 GB, free: 3.234 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001799/0.1394, allocations: 119.7 kB / 0.6599 GB, free: 3.117 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1394, allocations: 0 / 0.6599 GB, free: 3.117 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.854e-06/0.1394, allocations: 0 / 0.6599 GB, free: 3.117 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.396e-06/0.1394, allocations: 0 / 0.6599 GB, free: 3.117 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.0003191/0.1398, allocations: 364.2 kB / 0.6602 GB, free: 2.727 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.1398, allocations: 12.02 kB / 0.6602 GB, free: 2.715 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002613/0.1401, allocations: 33.14 kB / 0.6603 GB, free: 2.684 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.103e-05/0.1401, allocations: 116.6 kB / 0.6604 GB, free: 2.543 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.978e-05/0.1402, allocations: 51.97 kB / 0.6604 GB, free: 2.48 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.042e-05/0.1402, allocations: 12.12 kB / 0.6604 GB, free: 2.469 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001004/0.1403, allocations: 72.09 kB / 0.6605 GB, free: 2.383 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.1403, allocations: 4 kB / 0.6605 GB, free: 2.379 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.534e-06/0.1403, allocations: 0 / 0.6605 GB, free: 2.379 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.389e-05/0.1403, allocations: 3.938 kB / 0.6605 GB, free: 2.375 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.117e-05/0.1403, allocations: 11.98 kB / 0.6605 GB, free: 2.363 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002334/0.1406, allocations: 240.4 kB / 0.6608 GB, free: 2.102 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 3.694e-05/0.1406, allocations: 31.09 kB / 0.6608 GB, free: 2.059 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.393e-05/0.1406, allocations: 11.69 kB / 0.6608 GB, free: 2.043 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.836e-05/0.1407, allocations: 16.05 kB / 0.6608 GB, free: 2.027 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.088e-05/0.1407, allocations: 41.33 kB / 0.6609 GB, free: 1.977 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 6.81e-07/0.1407, allocations: 0 / 0.6609 GB, free: 1.977 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0001653/0.1409, allocations: 53.58 kB / 0.6609 GB, free: 1.918 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.83e-05/0.1409, allocations: 51.41 kB / 0.661 GB, free: 1.855 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.829e-05/0.141, allocations: 157.9 kB / 0.6611 GB, free: 1.684 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.174e-05/0.141, allocations: 25.83 kB / 0.6611 GB, free: 1.652 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.928e-05/0.1411, allocations: 146.8 kB / 0.6613 GB, free: 1.504 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.063e-06/0.1411, allocations: 7.953 kB / 0.6613 GB, free: 1.496 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.258e-05/0.1411, allocations: 19.31 kB / 0.6613 GB, free: 1.469 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001026/0.1412, allocations: 496.1 kB / 0.6618 GB, free: 0.9727 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.492e-06/0.1412, allocations: 0 / 0.6618 GB, free: 0.9727 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.461e-05/0.1412, allocations: 42.97 kB / 0.6618 GB, free: 0.918 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.064e-05/0.1412, allocations: 35 kB / 0.6618 GB, free: 0.8711 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.1412, allocations: 0 / 0.6618 GB, free: 0.8711 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.143e-05/0.1413, allocations: 57.91 kB / 0.6619 GB, free: 0.8086 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/0.1413, allocations: 4 kB / 0.6619 GB, free: 0.8047 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.1413, allocations: 0 / 0.6619 GB, free: 0.8047 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.005e-06/0.1413, allocations: 4 kB / 0.6619 GB, free: 0.8008 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.543e-05/0.1414, allocations: 11.94 kB / 0.6619 GB, free: 0.7891 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.274e-06/0.1414, allocations: 0 / 0.6619 GB, free: 0.7891 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.894e-05/0.1414, allocations: 11.92 kB / 0.6619 GB, free: 0.7773 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.647e-06/0.1414, allocations: 0 / 0.6619 GB, free: 0.7773 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 5.78e-05/0.1414, allocations: 160.5 kB / 0.6621 GB, free: 0.6094 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.54e-05/0.1415, allocations: 8.047 kB / 0.6621 GB, free: 0.6016 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.734e-05/0.1415, allocations: 11.3 kB / 0.6621 GB, free: 0.5859 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.1415, allocations: 4 kB / 0.6621 GB, free: 0.582 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-06/0.1415, allocations: 0 / 0.6621 GB, free: 0.582 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/0.1415, allocations: 0 / 0.6621 GB, free: 0.582 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001916/0.1417, allocations: 400.6 kB / 0.6625 GB, free: 152 kB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.1417, allocations: 0 / 0.6625 GB, free: 152 kB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.087e-05/0.1417, allocations: 4 kB / 0.6625 GB, free: 148 kB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-06/0.1417, allocations: 0 / 0.6625 GB, free: 148 kB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.306e-06/0.1417, allocations: 0 / 0.6625 GB, free: 148 kB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/0.1417, allocations: 4.062 kB / 0.6625 GB, free: 144 kB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.1417, allocations: 4 kB / 0.6625 GB, free: 140 kB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.236e-05/0.1418, allocations: 88 kB / 0.6626 GB, free: 24 kB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.019e-06/0.1418, allocations: 4 kB / 0.6626 GB, free: 20 kB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.107e-06/0.1418, allocations: 0 / 0.6626 GB, free: 20 kB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.098e-05/0.1418, allocations: 4 kB / 0.6626 GB, free: 16 kB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.012e-05/0.1418, allocations: 3.984 kB / 0.6626 GB, free: 12 kB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.974e-06/0.1418, allocations: 0 / 0.6626 GB, free: 12 kB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.024e-05/0.1419, allocations: 123.2 kB / 0.6627 GB, free: 15.89 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.1419, allocations: 0 / 0.6627 GB, free: 15.89 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000123/0.142, allocations: 12.03 kB / 0.6627 GB, free: 15.88 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.0001048/0.1421, allocations: 110.1 kB / 0.6628 GB, free: 15.77 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 5.662e-05/0.1421, allocations: 23.61 kB / 0.6629 GB, free: 15.74 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.1421, allocations: 0 / 0.6629 GB, free: 15.74 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.476e-06/0.1422, allocations: 11.69 kB / 0.6629 GB, free: 15.72 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001559/0.1423, allocations: 14.48 kB / 0.6629 GB, free: 15.71 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003258/0.1426, allocations: 134.1 kB / 0.663 GB, free: 15.55 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.779e-05/0.1427, allocations: 59.2 kB / 0.6631 GB, free: 15.47 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.364e-05/0.1427, allocations: 8 kB / 0.6631 GB, free: 15.46 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.174e-05/0.1428, allocations: 86.17 kB / 0.6632 GB, free: 15.38 MB / 0.6355 GB Notification: Performance of SimCode: time 8.92e-07/0.1428, allocations: 0 / 0.6632 GB, free: 15.38 MB / 0.6355 GB Notification: Performance of Templates: time 0.00211/0.1449, allocations: 0.7829 MB / 0.6639 GB, free: 14.61 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 & (cd run_cvode && ../IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] (rm -f IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion_gbode.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion_gbode.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion_gbode.sim & (cd run_gbode && ../IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion_gbode.pipe 2>&1) [Timeout 240] (rm -f IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion_ida.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion_ida.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion_ida.sim & (cd run_ida && ../IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.271361205726862]