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.001431/0.001431, allocations: 84.73 kB / 19.44 MB, free: 352 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.001727/0.001727, allocations: 157.7 kB / 22.75 MB, free: 1.68 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.499/1.499, allocations: 177.1 MB / 203.1 MB, free: 5.516 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.258/1.258, allocations: 154.6 MB / 414.1 MB, free: 0.6445 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 2.013e-06/2.013e-06, allocations: 0 / 0.5196 GB, free: 2.574 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.385e-05/3.587e-05, allocations: 10.25 kB / 0.5196 GB, free: 2.562 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamSaturationConsistencyCheck): time 0.1969/0.1969, allocations: 119.2 MB / 0.6359 GB, free: 11.16 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01252/0.2094, allocations: 7.243 MB / 0.643 GB, free: 3.883 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.064e-05/0.2095, allocations: 0 / 0.643 GB, free: 3.883 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002451/0.2097, allocations: 19.84 kB / 0.643 GB, free: 3.863 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.724e-05/0.2098, allocations: 15.86 kB / 0.643 GB, free: 3.848 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.005296/0.2151, allocations: 1.471 MB / 0.6445 GB, free: 2.371 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001881/0.2153, allocations: 71.64 kB / 0.6446 GB, free: 2.301 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.037e-05/0.2154, allocations: 11.94 kB / 0.6446 GB, free: 2.289 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002189/0.2156, allocations: 67.8 kB / 0.6446 GB, free: 2.223 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001138/0.2157, allocations: 19.97 kB / 0.6446 GB, free: 2.203 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.879e-05/0.2157, allocations: 0 / 0.6446 GB, free: 2.203 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006145/0.2219, allocations: 2.629 MB / 0.6472 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.646e-05/0.2219, allocations: 11.92 kB / 0.6472 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.119e-05/0.222, allocations: 19.98 kB / 0.6472 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.004558/0.2265, allocations: 1.805 MB / 0.649 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.2265, allocations: 0 / 0.649 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.674e-06/0.2265, allocations: 4 kB / 0.649 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.883e-06/0.2265, allocations: 0 / 0.649 GB, free: 13.73 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.00171/0.2283, allocations: 433.2 kB / 0.6494 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.291e-05/0.2283, allocations: 8.031 kB / 0.6494 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000532/0.2288, allocations: 48.64 kB / 0.6495 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001492/0.229, allocations: 109.7 kB / 0.6496 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001129/0.2291, allocations: 67.89 kB / 0.6497 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.262e-05/0.2291, allocations: 4.375 kB / 0.6497 GB, free: 13 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004528/0.2296, allocations: 149.3 kB / 0.6498 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.2296, allocations: 4 kB / 0.6498 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.653e-05/0.2296, allocations: 4 kB / 0.6498 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.2296, allocations: 0 / 0.6498 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003368/0.2299, allocations: 123.9 kB / 0.6499 GB, free: 12.72 MB / 0.6198 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005876/0.2305, allocations: 264.4 kB / 0.6502 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003049/0.2308, allocations: 118.5 kB / 0.6503 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.772e-05/0.2309, allocations: 44.84 kB / 0.6503 GB, free: 12.26 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01196/0.2429, allocations: 3.043 MB / 0.6533 GB, free: 9.215 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.67e-05/0.2429, allocations: 30.56 kB / 0.6533 GB, free: 9.176 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=13): time 2.064e-06/0.2429, allocations: 4 kB / 0.6533 GB, free: 9.172 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13): time 0.0007268/0.2437, allocations: 183.8 kB / 0.6535 GB, free: 8.988 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.153e-05/0.2437, allocations: 55.41 kB / 0.6536 GB, free: 8.922 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001185/0.2438, allocations: 93.86 kB / 0.6537 GB, free: 8.82 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.639e-05/0.2439, allocations: 29.7 kB / 0.6537 GB, free: 8.785 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.657e-05/0.2439, allocations: 84.12 kB / 0.6538 GB, free: 8.699 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.87e-05/0.244, allocations: 55.55 kB / 0.6538 GB, free: 8.645 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.146e-05/0.2441, allocations: 25.7 kB / 0.6538 GB, free: 8.613 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001913/0.2443, allocations: 318.8 kB / 0.6541 GB, free: 8.293 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.999e-05/0.2443, allocations: 24 kB / 0.6542 GB, free: 8.27 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.203e-05/0.2444, allocations: 23.98 kB / 0.6542 GB, free: 8.246 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001413/0.2445, allocations: 76.72 kB / 0.6543 GB, free: 8.168 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.2445, allocations: 4 kB / 0.6543 GB, free: 8.164 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000257/0.2448, allocations: 117 kB / 0.6544 GB, free: 8.047 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.2448, allocations: 4 kB / 0.6544 GB, free: 8.043 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-06/0.2448, allocations: 0 / 0.6544 GB, free: 8.043 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.568e-05/0.2448, allocations: 4 kB / 0.6544 GB, free: 8.039 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001347/0.245, allocations: 19.98 kB / 0.6544 GB, free: 8.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.285e-06/0.245, allocations: 4 kB / 0.6544 GB, free: 8.016 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.917e-05/0.245, allocations: 7.891 kB / 0.6544 GB, free: 8.008 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.107e-05/0.2451, allocations: 11.98 kB / 0.6544 GB, free: 7.996 MB / 0.6198 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.0001226/0.2452, allocations: 121.7 kB / 0.6545 GB, free: 7.867 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.338e-05/0.2453, allocations: 7.953 kB / 0.6546 GB, free: 7.859 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005888/0.2458, allocations: 376.4 kB / 0.6549 GB, free: 7.484 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.294e-05/0.2459, allocations: 4 kB / 0.6549 GB, free: 7.48 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.2459, allocations: 0 / 0.6549 GB, free: 7.48 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.2459, allocations: 4 kB / 0.6549 GB, free: 7.477 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004829/0.2464, allocations: 221 kB / 0.6551 GB, free: 7.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.2464, allocations: 0 / 0.6551 GB, free: 7.23 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001086/0.2465, allocations: 23.92 kB / 0.6552 GB, free: 7.207 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.2465, allocations: 4 kB / 0.6552 GB, free: 7.203 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.558e-05/0.2465, allocations: 7.984 kB / 0.6552 GB, free: 7.195 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.2465, allocations: 0 / 0.6552 GB, free: 7.195 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.2465, allocations: 3.938 kB / 0.6552 GB, free: 7.191 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004819/0.247, allocations: 343.7 kB / 0.6555 GB, free: 6.84 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.107e-05/0.247, allocations: 23.83 kB / 0.6555 GB, free: 6.816 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.295e-05/0.2471, allocations: 7.984 kB / 0.6555 GB, free: 6.809 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001434/0.2472, allocations: 8 kB / 0.6555 GB, free: 6.801 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.129e-05/0.2472, allocations: 7.984 kB / 0.6555 GB, free: 6.793 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.927e-05/0.2472, allocations: 11.98 kB / 0.6556 GB, free: 6.781 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.336e-05/0.2473, allocations: 79.22 kB / 0.6556 GB, free: 6.703 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.2473, allocations: 0 / 0.6556 GB, free: 6.703 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001105/0.2484, allocations: 311.6 kB / 0.6559 GB, free: 6.398 MB / 0.6198 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.001911/0.2503, allocations: 443 kB / 0.6563 GB, free: 5.957 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002867/0.2506, allocations: 131.8 kB / 0.6565 GB, free: 5.828 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.2506, allocations: 0 / 0.6565 GB, free: 5.828 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001501/0.2508, allocations: 83.97 kB / 0.6566 GB, free: 5.746 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004019/0.2512, allocations: 35 kB / 0.6566 GB, free: 5.715 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007112/0.2519, allocations: 320.5 kB / 0.6569 GB, free: 5.379 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000129/0.252, allocations: 98.12 kB / 0.657 GB, free: 5.262 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001516/0.2521, allocations: 34.42 kB / 0.657 GB, free: 5.227 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.586e-05/0.2522, allocations: 16.5 kB / 0.657 GB, free: 5.211 MB / 0.6198 GB Notification: Performance of SimCode: time 1.052e-06/0.2522, allocations: 0 / 0.657 GB, free: 5.211 MB / 0.6198 GB Notification: Performance of Templates: time 0.02086/0.2731, allocations: 10.04 MB / 0.6668 GB, free: 11.22 MB / 0.6355 GB " [Timeout remaining time 660] 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=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.968742577941157]