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.001094/0.001094, 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.001266/0.001266, 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.046/1.046, allocations: 177.1 MB / 203.7 MB, free: 5.512 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-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 0.839/0.839, allocations: 154.6 MB / 414.8 MB, free: 0.5156 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.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 2.164e-06/2.164e-06, allocations: 0 / 0.5207 GB, free: 0.8125 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.852e-05/2.068e-05, allocations: 3.562 kB / 0.5207 GB, free: 0.8086 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamSaturationConsistencyCheck): time 0.4665/0.4665, allocations: 128.8 MB / 0.6465 GB, free: 18.59 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.008936/0.4755, allocations: 7.837 MB / 0.6542 GB, free: 18.54 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.452e-05/0.4756, allocations: 1.031 kB / 0.6542 GB, free: 18.54 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0001958/0.4758, allocations: 30.81 kB / 0.6542 GB, free: 18.54 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 5.583e-05/0.4758, allocations: 21.97 kB / 0.6542 GB, free: 18.54 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.005207/0.481, allocations: 1.478 MB / 0.6557 GB, free: 18.5 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001762/0.4812, allocations: 78.62 kB / 0.6557 GB, free: 18.5 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 3.84e-05/0.4812, allocations: 4.688 kB / 0.6557 GB, free: 18.5 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001549/0.4814, allocations: 54.55 kB / 0.6558 GB, free: 18.5 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 8.541e-05/0.4815, allocations: 29.08 kB / 0.6558 GB, free: 18.5 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.478e-05/0.4815, allocations: 5.688 kB / 0.6558 GB, free: 18.5 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00496/0.4864, allocations: 2.618 MB / 0.6584 GB, free: 18.49 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 3.821e-05/0.4865, allocations: 16.02 kB / 0.6584 GB, free: 18.49 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 7.043e-05/0.4866, allocations: 27.31 kB / 0.6584 GB, free: 18.49 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.003232/0.4898, allocations: 1.795 MB / 0.6602 GB, free: 18.46 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.4898, allocations: 1.438 kB / 0.6602 GB, free: 18.46 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.354e-06/0.4898, allocations: 1.688 kB / 0.6602 GB, free: 18.46 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.4898, allocations: 0 / 0.6602 GB, free: 18.46 MB / 0.5573 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.001449/0.4913, allocations: 0.5205 MB / 0.6607 GB, free: 18.03 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.655e-05/0.4913, allocations: 9.375 kB / 0.6607 GB, free: 18.03 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003048/0.4916, allocations: 55.05 kB / 0.6607 GB, free: 18.01 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.621e-05/0.4917, allocations: 115.5 kB / 0.6609 GB, free: 17.88 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.326e-05/0.4918, allocations: 59.19 kB / 0.6609 GB, free: 17.81 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.121e-05/0.4918, allocations: 8.375 kB / 0.6609 GB, free: 17.81 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002702/0.492, allocations: 135.9 kB / 0.6611 GB, free: 17.73 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.988e-06/0.4921, allocations: 7.031 kB / 0.6611 GB, free: 17.73 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.4921, allocations: 1.062 kB / 0.6611 GB, free: 17.73 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-06/0.4921, allocations: 1.812 kB / 0.6611 GB, free: 17.73 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001445/0.4922, allocations: 85.16 kB / 0.6611 GB, free: 17.73 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003119/0.4925, allocations: 303.3 kB / 0.6614 GB, free: 17.49 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001567/0.4927, allocations: 108 kB / 0.6615 GB, free: 17.46 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.717e-05/0.4927, allocations: 38.09 kB / 0.6616 GB, free: 17.45 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005849/0.4986, allocations: 2.61 MB / 0.6641 GB, free: 17.4 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.195e-05/0.4986, allocations: 40.23 kB / 0.6642 GB, free: 17.36 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=13): time 2.304e-06/0.4986, allocations: 0 / 0.6642 GB, free: 17.36 MB / 0.5573 GB Notification: Performance of matching and sorting (n=13): time 0.0003484/0.499, allocations: 141.4 kB / 0.6643 GB, free: 17.31 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.051e-05/0.499, allocations: 55.06 kB / 0.6643 GB, free: 17.25 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.545e-05/0.499, allocations: 163.2 kB / 0.6645 GB, free: 17.09 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 9.047e-06/0.499, allocations: 29.33 kB / 0.6645 GB, free: 17.05 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 2.552e-05/0.4991, allocations: 131 kB / 0.6647 GB, free: 16.93 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.076e-05/0.4991, allocations: 47.34 kB / 0.6647 GB, free: 16.89 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.448e-05/0.4991, allocations: 36.73 kB / 0.6647 GB, free: 16.87 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 4.85e-05/0.4992, allocations: 0.4909 MB / 0.6652 GB, free: 16.38 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.759e-05/0.4992, allocations: 14.58 kB / 0.6652 GB, free: 16.38 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.143e-05/0.4992, allocations: 20.11 kB / 0.6652 GB, free: 16.38 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.254e-05/0.4993, allocations: 54.66 kB / 0.6653 GB, free: 16.36 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.4993, allocations: 0.5938 kB / 0.6653 GB, free: 16.36 MB / 0.5573 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000104/0.4994, allocations: 93.64 kB / 0.6654 GB, free: 16.32 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.4994, allocations: 6.406 kB / 0.6654 GB, free: 16.32 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.4994, allocations: 2.906 kB / 0.6654 GB, free: 16.32 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.4994, allocations: 4.188 kB / 0.6654 GB, free: 16.32 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.225e-05/0.4995, allocations: 24.47 kB / 0.6654 GB, free: 16.32 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.295e-06/0.4995, allocations: 0.7812 kB / 0.6654 GB, free: 16.32 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.921e-05/0.4995, allocations: 10.64 kB / 0.6654 GB, free: 16.32 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-06/0.4995, allocations: 0.9375 kB / 0.6654 GB, free: 16.32 MB / 0.5573 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 4.691e-05/0.4996, allocations: 163.9 kB / 0.6656 GB, free: 16.16 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.001e-05/0.4996, allocations: 18.8 kB / 0.6656 GB, free: 16.15 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002129/0.4998, allocations: 239.3 kB / 0.6658 GB, free: 16.08 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.276e-06/0.4998, allocations: 6.734 kB / 0.6658 GB, free: 16.08 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.215e-06/0.4998, allocations: 0 / 0.6658 GB, free: 16.08 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.4998, allocations: 0 / 0.6658 GB, free: 16.08 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001321/0.5, allocations: 181 kB / 0.666 GB, free: 15.95 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.5, allocations: 0 / 0.666 GB, free: 15.95 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.203e-05/0.5, allocations: 24.88 kB / 0.666 GB, free: 15.95 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.5, allocations: 0 / 0.666 GB, free: 15.95 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.194e-06/0.5, allocations: 10 kB / 0.6661 GB, free: 15.95 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.5, allocations: 1.062 kB / 0.6661 GB, free: 15.95 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.5, allocations: 0 / 0.6661 GB, free: 15.95 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001774/0.5002, allocations: 323.7 kB / 0.6664 GB, free: 15.75 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 3.296e-05/0.5002, allocations: 27.78 kB / 0.6664 GB, free: 15.73 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.162e-05/0.5002, allocations: 9.609 kB / 0.6664 GB, free: 15.73 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.743e-05/0.5003, allocations: 3.312 kB / 0.6664 GB, free: 15.73 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.019e-05/0.5003, allocations: 13.48 kB / 0.6664 GB, free: 15.73 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.16e-05/0.5003, allocations: 7.938 kB / 0.6664 GB, free: 15.73 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 2.372e-05/0.5004, allocations: 122.1 kB / 0.6665 GB, free: 15.61 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6e-08/0.5004, allocations: 3.094 kB / 0.6665 GB, free: 15.61 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001221/0.5016, allocations: 308.3 kB / 0.6668 GB, free: 15.59 MB / 0.5573 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.000911/0.5025, allocations: 457.6 kB / 0.6673 GB, free: 15.48 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001173/0.5026, allocations: 82.98 kB / 0.6673 GB, free: 15.46 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.5026, allocations: 0 / 0.6673 GB, free: 15.46 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 5.311e-05/0.5027, allocations: 71.3 kB / 0.6674 GB, free: 15.45 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002209/0.5029, allocations: 25.44 kB / 0.6674 GB, free: 15.45 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005804/0.5035, allocations: 298.8 kB / 0.6677 GB, free: 15.28 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.704e-05/0.5035, allocations: 75.2 kB / 0.6678 GB, free: 15.21 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 8.069e-05/0.5036, allocations: 35 kB / 0.6678 GB, free: 15.2 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.621e-05/0.5037, allocations: 108.4 kB / 0.6679 GB, free: 15.13 MB / 0.5573 GB Notification: Performance of SimCode: time 8.72e-07/0.5037, allocations: 0 / 0.6679 GB, free: 15.13 MB / 0.5573 GB Notification: Performance of Templates: time 0.01341/0.5171, allocations: 11.37 MB / 0.679 GB, free: 14.38 MB / 0.5573 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: 4.6879867715761065]