Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.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.001919/0.001919, allocations: 93.47 kB / 19.44 MB, free: 332 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.002206/0.002206, allocations: 169.2 kB / 22.76 MB, free: 1.66 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.609/1.609, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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 1.323/1.323, allocations: 154.6 MB / 414.2 MB, free: 0.6367 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 178] 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.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.SteamSaturationConsistencyCheck") translateModel(IDEAS.Media.Examples.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.SteamSaturationConsistencyCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 0.5196 GB, free: 2.637 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.853e-05/3.001e-05, allocations: 2.312 kB / 0.5196 GB, free: 2.633 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamSaturationConsistencyCheck): time 0.2552/0.2552, allocations: 131 MB / 0.6475 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01867/0.2739, allocations: 7.921 MB / 0.6552 GB, free: 7.402 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.609e-05/0.274, allocations: 0 / 0.6552 GB, free: 7.402 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003043/0.2743, allocations: 23.84 kB / 0.6553 GB, free: 7.379 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001389/0.2744, allocations: 23.8 kB / 0.6553 GB, free: 7.355 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.009778/0.2842, allocations: 1.479 MB / 0.6567 GB, free: 5.871 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004657/0.2847, allocations: 79.58 kB / 0.6568 GB, free: 5.793 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.67e-05/0.2848, allocations: 3.984 kB / 0.6568 GB, free: 5.789 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004228/0.2852, allocations: 59.81 kB / 0.6569 GB, free: 5.73 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00021/0.2854, allocations: 27.91 kB / 0.6569 GB, free: 5.703 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.56e-05/0.2854, allocations: 4 kB / 0.6569 GB, free: 5.699 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01122/0.2967, allocations: 2.62 MB / 0.6595 GB, free: 3.078 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.892e-05/0.2967, allocations: 7.984 kB / 0.6595 GB, free: 3.07 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001089/0.2968, allocations: 31.91 kB / 0.6595 GB, free: 3.039 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.006893/0.3037, allocations: 1.797 MB / 0.6613 GB, free: 1.238 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 9.127e-06/0.3037, allocations: 0 / 0.6613 GB, free: 1.238 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.615e-06/0.3037, allocations: 0 / 0.6613 GB, free: 1.238 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.229e-05/0.3037, allocations: 0 / 0.6613 GB, free: 1.238 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.002237/0.306, allocations: 0.5226 MB / 0.6618 GB, free: 0.6797 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.346e-05/0.306, allocations: 12.03 kB / 0.6618 GB, free: 0.668 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008023/0.3069, allocations: 48.64 kB / 0.6618 GB, free: 0.6211 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002072/0.3071, allocations: 112.5 kB / 0.6619 GB, free: 496 kB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000135/0.3072, allocations: 55.97 kB / 0.662 GB, free: 428 kB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.604e-05/0.3072, allocations: 12.38 kB / 0.662 GB, free: 416 kB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006382/0.3079, allocations: 149.1 kB / 0.6621 GB, free: 256 kB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/0.3079, allocations: 0 / 0.6621 GB, free: 256 kB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.862e-05/0.3079, allocations: 0 / 0.6621 GB, free: 256 kB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.348e-05/0.3079, allocations: 4 kB / 0.6621 GB, free: 252 kB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005406/0.3085, allocations: 99.84 kB / 0.6622 GB, free: 152 kB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008672/0.3093, allocations: 323.6 kB / 0.6625 GB, free: 15.8 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004732/0.3098, allocations: 123 kB / 0.6627 GB, free: 15.66 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001382/0.3099, allocations: 43.67 kB / 0.6627 GB, free: 15.62 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02032/0.3303, allocations: 3.058 MB / 0.6657 GB, free: 12.56 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.523e-05/0.3303, allocations: 45.38 kB / 0.6657 GB, free: 12.5 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=13): time 3.476e-06/0.3303, allocations: 0 / 0.6657 GB, free: 12.5 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13): time 0.001135/0.3315, allocations: 165.5 kB / 0.6659 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.494e-05/0.3316, allocations: 51.41 kB / 0.6659 GB, free: 12.27 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002017/0.3318, allocations: 161.9 kB / 0.6661 GB, free: 12.1 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.28e-05/0.3318, allocations: 29.7 kB / 0.6661 GB, free: 12.06 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001367/0.3319, allocations: 134.9 kB / 0.6663 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 9.503e-05/0.332, allocations: 51.53 kB / 0.6663 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001041/0.3321, allocations: 39.3 kB / 0.6663 GB, free: 11.83 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0003991/0.3325, allocations: 0.4884 MB / 0.6668 GB, free: 11.33 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000105/0.3326, allocations: 23.98 kB / 0.6668 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.565e-05/0.3327, allocations: 23.98 kB / 0.6669 GB, free: 11.28 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002442/0.333, allocations: 70.88 kB / 0.6669 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.333, allocations: 0 / 0.6669 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003926/0.3334, allocations: 113.7 kB / 0.667 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.006e-05/0.3334, allocations: 7.984 kB / 0.667 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.3334, allocations: 0 / 0.667 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.596e-05/0.3334, allocations: 4 kB / 0.667 GB, free: 11.08 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002025/0.3336, allocations: 27.86 kB / 0.6671 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.578e-05/0.3337, allocations: 4 kB / 0.6671 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.315e-05/0.3338, allocations: 7.891 kB / 0.6671 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.085e-05/0.3338, allocations: 8 kB / 0.6671 GB, free: 11.04 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (13): * Single equations (assignments): 13 * 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 0.0001923/0.334, allocations: 164.5 kB / 0.6673 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.066e-05/0.3341, allocations: 7.953 kB / 0.6673 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006486/0.3347, allocations: 268.4 kB / 0.6675 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.812e-05/0.3348, allocations: 12.17 kB / 0.6675 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.3348, allocations: 4 kB / 0.6675 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.847e-06/0.3348, allocations: 3.984 kB / 0.6675 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004375/0.3352, allocations: 196.3 kB / 0.6677 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/0.3352, allocations: 0 / 0.6677 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001475/0.3354, allocations: 19.98 kB / 0.6677 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.401e-06/0.3354, allocations: 4 kB / 0.6677 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.359e-05/0.3354, allocations: 4 kB / 0.6677 GB, free: 10.31 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.3354, allocations: 0 / 0.6677 GB, free: 10.31 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.3354, allocations: 0 / 0.6677 GB, free: 10.31 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001051/0.3364, allocations: 352 kB / 0.6681 GB, free: 9.949 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001086/0.3365, allocations: 27.77 kB / 0.6681 GB, free: 9.922 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.021e-05/0.3366, allocations: 8 kB / 0.6681 GB, free: 9.914 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002314/0.3368, allocations: 7.984 kB / 0.6681 GB, free: 9.906 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.36e-05/0.3369, allocations: 11.98 kB / 0.6681 GB, free: 9.895 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.43e-05/0.3369, allocations: 4 kB / 0.6681 GB, free: 9.891 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001266/0.337, allocations: 127.2 kB / 0.6683 GB, free: 9.766 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.3e-07/0.337, allocations: 0 / 0.6683 GB, free: 9.766 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002075/0.3391, allocations: 303.7 kB / 0.6686 GB, free: 9.469 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: 2 ($cse1.region3boundary,$cse2.region3boundary) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.00327/0.3424, allocations: 442.7 kB / 0.669 GB, free: 9.027 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004657/0.3428, allocations: 103.5 kB / 0.6691 GB, free: 8.922 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.3428, allocations: 0 / 0.6691 GB, free: 8.922 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002459/0.3431, allocations: 97.48 kB / 0.6692 GB, free: 8.824 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006188/0.3437, allocations: 27.91 kB / 0.6692 GB, free: 8.797 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001002/0.3447, allocations: 286.3 kB / 0.6695 GB, free: 8.492 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001774/0.3449, allocations: 98.12 kB / 0.6696 GB, free: 8.375 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001815/0.3451, allocations: 31.75 kB / 0.6696 GB, free: 8.344 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.166e-05/0.3451, allocations: 20.5 kB / 0.6696 GB, free: 8.324 MB / 0.6355 GB Notification: Performance of SimCode: time 1.783e-06/0.3451, allocations: 0 / 0.6696 GB, free: 8.324 MB / 0.6355 GB Notification: Performance of Templates: time 0.2765/0.6216, allocations: 10.32 MB / 0.6797 GB, free: 202.3 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.pipe >> ../files/IDEAS_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.sim & ./IDEAS_IDEAS.Media.Examples.SteamSaturationConsistencyCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.16630282800179]