Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.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.000786/0.000786, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0008457/0.0008457, allocations: 177.9 kB / 23.21 MB, free: 1.348 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 0.8465/0.8465, allocations: 177.1 MB / 203.5 MB, free: 5.688 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-531:686: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-531:694: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.6899/0.6899, allocations: 154.6 MB / 414.5 MB, free: 0.793 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.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.6193 GB, free: 13.2 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.326e-05/2.486e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.19 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.3918/0.3918, allocations: 119 MB / 0.7355 GB, free: 27.12 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0001249/0.392, allocations: 44.3 kB / 0.7356 GB, free: 27.09 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.468e-05/0.392, allocations: 0 / 0.7356 GB, free: 27.09 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001172/0.3921, allocations: 9.156 kB / 0.7356 GB, free: 27.09 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 7.362e-05/0.3922, allocations: 14.22 kB / 0.7356 GB, free: 27.08 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006708/0.3929, allocations: 252.2 kB / 0.7358 GB, free: 26.96 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 7.689e-05/0.3929, allocations: 32.2 kB / 0.7359 GB, free: 26.95 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 3.911e-05/0.393, allocations: 5.531 kB / 0.7359 GB, free: 26.95 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 5.124e-05/0.393, allocations: 20.97 kB / 0.7359 GB, free: 26.95 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 6.868e-05/0.3931, allocations: 13.55 kB / 0.7359 GB, free: 26.94 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.329e-05/0.3931, allocations: 1.625 kB / 0.7359 GB, free: 26.94 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002601/0.3934, allocations: 177.3 kB / 0.7361 GB, free: 26.88 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 5.487e-05/0.3934, allocations: 14.02 kB / 0.7361 GB, free: 26.87 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.083e-05/0.3934, allocations: 4.344 kB / 0.7361 GB, free: 26.87 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002468/0.3937, allocations: 180.9 kB / 0.7363 GB, free: 26.82 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.3937, allocations: 0 / 0.7363 GB, free: 26.82 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.202e-06/0.3937, allocations: 1.656 kB / 0.7363 GB, free: 26.82 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.488e-06/0.3937, allocations: 4 kB / 0.7363 GB, free: 26.82 MB / 0.6355 GB 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.0003005/0.394, allocations: 280.1 kB / 0.7365 GB, free: 26.54 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.394, allocations: 9.781 kB / 0.7366 GB, free: 26.54 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.956e-05/0.3941, allocations: 2.156 kB / 0.7366 GB, free: 26.54 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.494e-05/0.3941, allocations: 111.5 kB / 0.7367 GB, free: 26.41 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.897e-05/0.3942, allocations: 53.34 kB / 0.7367 GB, free: 26.35 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.095e-06/0.3942, allocations: 1.719 kB / 0.7367 GB, free: 26.35 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001071/0.3943, allocations: 72.44 kB / 0.7368 GB, free: 26.29 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.3943, allocations: 3.938 kB / 0.7368 GB, free: 26.28 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.778e-06/0.3943, allocations: 4 kB / 0.7368 GB, free: 26.28 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.581e-05/0.3943, allocations: 7.625 kB / 0.7368 GB, free: 26.27 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.809e-05/0.3944, allocations: 12.17 kB / 0.7368 GB, free: 26.27 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004629/0.3948, allocations: 252.1 kB / 0.737 GB, free: 26.06 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 3.506e-05/0.3949, allocations: 25.14 kB / 0.7371 GB, free: 26.03 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.155e-05/0.3949, allocations: 6.078 kB / 0.7371 GB, free: 26.02 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.967e-05/0.3949, allocations: 31.27 kB / 0.7371 GB, free: 26.02 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.469e-05/0.3949, allocations: 32.81 kB / 0.7371 GB, free: 25.98 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 1.192e-06/0.3949, allocations: 0 / 0.7371 GB, free: 25.98 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001164/0.395, allocations: 42.67 kB / 0.7372 GB, free: 25.94 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.892e-05/0.3951, allocations: 56.41 kB / 0.7372 GB, free: 25.87 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.754e-05/0.3951, allocations: 107.6 kB / 0.7373 GB, free: 25.77 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.681e-06/0.3951, allocations: 25.7 kB / 0.7374 GB, free: 25.73 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.36e-05/0.3951, allocations: 86.53 kB / 0.7374 GB, free: 25.65 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.627e-06/0.3951, allocations: 1.094 kB / 0.7374 GB, free: 25.65 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.26e-05/0.3952, allocations: 25.14 kB / 0.7375 GB, free: 25.62 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.566e-05/0.3952, allocations: 311.9 kB / 0.7378 GB, free: 25.31 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.848e-06/0.3952, allocations: 2.094 kB / 0.7378 GB, free: 25.31 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.602e-05/0.3952, allocations: 21.17 kB / 0.7378 GB, free: 25.29 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.34e-05/0.3952, allocations: 25.47 kB / 0.7378 GB, free: 25.27 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.3952, allocations: 0 / 0.7378 GB, free: 25.27 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.437e-05/0.3953, allocations: 54.58 kB / 0.7379 GB, free: 25.23 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.3953, allocations: 4.5 kB / 0.7379 GB, free: 25.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.88e-06/0.3953, allocations: 1.125 kB / 0.7379 GB, free: 25.23 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.3953, allocations: 2.312 kB / 0.7379 GB, free: 25.23 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.139e-05/0.3954, allocations: 3.844 kB / 0.7379 GB, free: 25.23 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.3954, allocations: 4.453 kB / 0.7379 GB, free: 25.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.13e-05/0.3954, allocations: 5.25 kB / 0.7379 GB, free: 25.22 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.365e-06/0.3954, allocations: 2.219 kB / 0.7379 GB, free: 25.22 MB / 0.6355 GB 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 3.499e-05/0.3954, allocations: 109 kB / 0.738 GB, free: 25.11 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.37e-05/0.3954, allocations: 8.922 kB / 0.738 GB, free: 25.1 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.489e-05/0.3955, allocations: 134.2 kB / 0.7381 GB, free: 24.97 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.339e-05/0.3955, allocations: 177.2 kB / 0.7383 GB, free: 24.79 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.488e-05/0.3955, allocations: 181.3 kB / 0.7385 GB, free: 24.61 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.238e-05/0.3956, allocations: 178.5 kB / 0.7386 GB, free: 24.43 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.074e-05/0.3956, allocations: 359.6 kB / 0.739 GB, free: 24.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.035e-06/0.3956, allocations: 110.1 kB / 0.7391 GB, free: 23.94 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.777e-06/0.3956, allocations: 110.1 kB / 0.7392 GB, free: 23.82 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.457e-05/0.3957, allocations: 188.8 kB / 0.7394 GB, free: 23.64 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.412e-05/0.3957, allocations: 177.5 kB / 0.7395 GB, free: 23.46 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.278e-05/0.3957, allocations: 177.5 kB / 0.7397 GB, free: 23.28 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.3e-05/0.3957, allocations: 181.5 kB / 0.7399 GB, free: 23.09 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.846e-05/0.3957, allocations: 308.5 kB / 0.7402 GB, free: 22.78 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.381e-05/0.3958, allocations: 111.5 kB / 0.7403 GB, free: 22.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.317e-05/0.3958, allocations: 180.7 kB / 0.7405 GB, free: 22.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.55e-05/0.3959, allocations: 108 kB / 0.7406 GB, free: 22.38 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.748e-05/0.3959, allocations: 181.7 kB / 0.7407 GB, free: 22.19 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.648e-06/0.3959, allocations: 113.2 kB / 0.7408 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.357e-05/0.3959, allocations: 85.16 kB / 0.7409 GB, free: 22 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.3959, allocations: 0 / 0.7409 GB, free: 22 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000203/0.3961, allocations: 59.86 kB / 0.741 GB, free: 21.98 MB / 0.6355 GB 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.0002274/0.3963, allocations: 251.2 kB / 0.7412 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.112e-05/0.3964, allocations: 9.172 kB / 0.7412 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3964, allocations: 5.406 kB / 0.7412 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.01e-07/0.3964, allocations: 0 / 0.7412 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001974/0.3966, allocations: 463.9 kB / 0.7417 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000194/0.3968, allocations: 206.9 kB / 0.7419 GB, free: 21.13 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.245e-05/0.3968, allocations: 59.23 kB / 0.7419 GB, free: 21.06 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.047e-05/0.3968, allocations: 15.47 kB / 0.7419 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of SimCode: time 5.41e-07/0.3968, allocations: 0 / 0.7419 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of Templates: time 0.002248/0.3991, allocations: 1.261 MB / 0.7432 GB, free: 20.91 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.sim & ./IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.603410491719842] Failed to read output from testmodel.py, exit status != 0: 0.405023624189198 0.413218079 0.017720844 Calling exit ...