Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.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.0009915/0.0009915, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001124/0.001124, allocations: 181 kB / 23.36 MB, free: 1.133 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.063/1.063, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.8254/0.8254, allocations: 154.9 MB / 415.1 MB, free: 224 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.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 480.4 MB, free: 6.531 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.881e-05/2.012e-05, allocations: 8.922 kB / 480.4 MB, free: 6.527 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.00443/0.00445, allocations: 4.212 MB / 484.6 MB, free: 2.363 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.000147/0.004597, allocations: 160.2 kB / 484.7 MB, free: 2.207 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.364e-05/0.00462, allocations: 0 / 484.7 MB, free: 2.207 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 9.912e-05/0.004719, allocations: 4 kB / 484.7 MB, free: 2.203 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 7.072e-05/0.00479, allocations: 17.06 kB / 484.8 MB, free: 2.188 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002633/0.005053, allocations: 90.19 kB / 484.8 MB, free: 2.102 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 7.02e-05/0.005124, allocations: 35.84 kB / 484.9 MB, free: 2.066 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.635e-05/0.00516, allocations: 4.875 kB / 484.9 MB, free: 2.062 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.022e-05/0.00521, allocations: 15.92 kB / 484.9 MB, free: 2.047 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.459e-05/0.005275, allocations: 21.03 kB / 484.9 MB, free: 2.027 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.072e-05/0.005285, allocations: 0 / 484.9 MB, free: 2.027 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001515/0.005437, allocations: 52.39 kB / 485 MB, free: 1.977 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 3.821e-05/0.005475, allocations: 11.97 kB / 485 MB, free: 1.965 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.424e-05/0.005489, allocations: 4.625 kB / 485 MB, free: 1.961 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001081/0.005598, allocations: 63.86 kB / 485.1 MB, free: 1.898 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.873e-06/0.005599, allocations: 0.625 kB / 485.1 MB, free: 1.898 MB / 442.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.0056, allocations: 0.625 kB / 485.1 MB, free: 1.898 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.787e-06/0.005604, allocations: 3.938 kB / 485.1 MB, free: 1.895 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002388/0.005843, allocations: 233.2 kB / 485.3 MB, free: 1.645 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.75e-05/0.00587, allocations: 8.656 kB / 485.3 MB, free: 1.637 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.581e-05/0.005896, allocations: 4.938 kB / 485.3 MB, free: 1.633 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.358e-05/0.00597, allocations: 114.4 kB / 485.4 MB, free: 1.496 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.34e-05/0.006013, allocations: 51.97 kB / 485.5 MB, free: 1.434 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.223e-06/0.00602, allocations: 0.9062 kB / 485.5 MB, free: 1.434 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.654e-05/0.006117, allocations: 80.3 kB / 485.5 MB, free: 1.34 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.006123, allocations: 192 / 485.5 MB, free: 1.34 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.256e-06/0.006131, allocations: 9.062 kB / 485.6 MB, free: 1.332 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.812e-05/0.00615, allocations: 0.6094 kB / 485.6 MB, free: 1.332 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.015e-05/0.00617, allocations: 11.98 kB / 485.6 MB, free: 1.32 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002419/0.006412, allocations: 179 kB / 485.7 MB, free: 1.129 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.743e-05/0.006439, allocations: 15.2 kB / 485.8 MB, free: 1.105 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.408e-06/0.006448, allocations: 9.672 kB / 485.8 MB, free: 1.094 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.438e-05/0.006483, allocations: 9.875 kB / 485.8 MB, free: 1.086 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.187e-05/0.006505, allocations: 38.5 kB / 485.8 MB, free: 1.039 MB / 442.7 MB Notification: Performance of pre-optimization done (n=1): time 7.72e-07/0.006505, allocations: 0 / 485.8 MB, free: 1.039 MB / 442.7 MB Notification: Performance of matching and sorting (n=1): time 8.98e-05/0.006595, allocations: 33.64 kB / 485.8 MB, free: 1 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.143e-05/0.006617, allocations: 53.47 kB / 485.9 MB, free: 0.9375 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.522e-05/0.006672, allocations: 107.5 kB / 486 MB, free: 0.8203 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.238e-05/0.006684, allocations: 29.7 kB / 486 MB, free: 0.7852 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.455e-05/0.006719, allocations: 88.08 kB / 486.1 MB, free: 0.6953 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.787e-06/0.006723, allocations: 0 / 486.1 MB, free: 0.6953 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.255e-05/0.006745, allocations: 17.7 kB / 486.1 MB, free: 0.6719 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.882e-05/0.006814, allocations: 316.5 kB / 486.4 MB, free: 364 kB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.14e-06/0.006819, allocations: 0 / 486.4 MB, free: 364 kB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.55e-05/0.006835, allocations: 13.72 kB / 486.5 MB, free: 344 kB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.873e-05/0.006863, allocations: 29.05 kB / 486.5 MB, free: 308 kB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.006865, allocations: 1.312 kB / 486.5 MB, free: 308 kB / 442.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.286e-05/0.006908, allocations: 45.69 kB / 486.5 MB, free: 256 kB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/0.006919, allocations: 8.688 kB / 486.5 MB, free: 248 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.006923, allocations: 0 / 486.5 MB, free: 248 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.006938, allocations: 6.625 kB / 486.5 MB, free: 244 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.908e-05/0.006968, allocations: 11.88 kB / 486.6 MB, free: 232 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.615e-06/0.00697, allocations: 0 / 486.6 MB, free: 232 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.354e-05/0.006984, allocations: 3.953 kB / 486.6 MB, free: 228 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.396e-06/0.006992, allocations: 4 kB / 486.6 MB, free: 224 kB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * 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 4.714e-05/0.007039, allocations: 109.8 kB / 486.7 MB, free: 104 kB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.745e-05/0.007057, allocations: 11.92 kB / 486.7 MB, free: 92 kB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.074e-05/0.007147, allocations: 117.4 kB / 486.8 MB, free: 15.97 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.815e-05/0.007186, allocations: 188.2 kB / 487 MB, free: 15.78 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.713e-05/0.007223, allocations: 181 kB / 487.2 MB, free: 15.59 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.703e-05/0.00726, allocations: 184.2 kB / 487.3 MB, free: 15.41 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000119/0.007379, allocations: 317.4 kB / 487.6 MB, free: 15.07 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.517e-05/0.007404, allocations: 102.4 kB / 487.7 MB, free: 14.96 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.367e-05/0.007428, allocations: 105.6 kB / 487.8 MB, free: 14.86 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-05/0.007464, allocations: 180.2 kB / 488 MB, free: 14.67 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.742e-05/0.007512, allocations: 184.9 kB / 488.2 MB, free: 14.48 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.064e-05/0.007552, allocations: 184.1 kB / 488.4 MB, free: 14.3 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.931e-05/0.007592, allocations: 180.9 kB / 488.6 MB, free: 14.11 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.468e-05/0.007676, allocations: 307.7 kB / 488.9 MB, free: 13.79 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.649e-05/0.007703, allocations: 106.4 kB / 489 MB, free: 13.68 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002895/0.007992, allocations: 180.3 kB / 489.1 MB, free: 13.5 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.533e-05/0.008078, allocations: 116.9 kB / 489.3 MB, free: 13.38 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.351e-05/0.008121, allocations: 186 kB / 489.4 MB, free: 13.19 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-05/0.008143, allocations: 101 kB / 489.5 MB, free: 13.08 MB / 458.7 MB Notification: Performance of sorting global known variables: time 1.516e-05/0.008158, allocations: 8.859 kB / 489.5 MB, free: 13.07 MB / 458.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008158, allocations: 1.031 kB / 489.5 MB, free: 13.07 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001449/0.008303, allocations: 23.92 kB / 489.6 MB, free: 13.05 MB / 458.7 MB 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 (0): * Single equations (assignments): 0 * 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.000117/0.00842, allocations: 168.5 kB / 489.7 MB, free: 12.87 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 5.006e-05/0.00847, allocations: 13.39 kB / 489.7 MB, free: 12.86 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.008474, allocations: 0.8438 kB / 489.7 MB, free: 12.86 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 1.032e-06/0.008475, allocations: 0 / 489.7 MB, free: 12.86 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002181/0.008693, allocations: 480.9 kB / 490.2 MB, free: 12.38 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003014/0.008994, allocations: 191.1 kB / 490.4 MB, free: 12.17 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.765e-05/0.009022, allocations: 55.36 kB / 490.5 MB, free: 12.1 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.553e-05/0.009047, allocations: 9.469 kB / 490.5 MB, free: 12.09 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.805e-05/0.009105, allocations: 64.53 kB / 490.5 MB, free: 12.03 MB / 458.7 MB Notification: Performance of SimCode: time 5.71e-07/0.009106, allocations: 0 / 490.5 MB, free: 12.03 MB / 458.7 MB Notification: Performance of Templates: time 0.002063/0.01117, allocations: 0.7323 MB / 491.3 MB, free: 11.34 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.709424522239715]