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.001302/0.001302, allocations: 93.16 kB / 19.65 MB, free: 292 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.001086/0.001086, allocations: 172.9 kB / 23.02 MB, free: 1.562 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.011/1.011, allocations: 177.1 MB / 203.4 MB, free: 5.66 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.7571/0.7571, allocations: 154.6 MB / 414.5 MB, free: 0.6836 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.395e-06/2.395e-06, allocations: 0 / 0.5203 GB, free: 2.27 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.26e-05/3.5e-05, allocations: 3.281 kB / 0.5203 GB, free: 2.266 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamSaturationConsistencyCheck): time 0.1276/0.1276, allocations: 131.3 MB / 0.6485 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.007802/0.1354, allocations: 7.952 MB / 0.6563 GB, free: 6.715 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.74e-05/0.1355, allocations: 0 / 0.6563 GB, free: 6.715 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002283/0.1357, allocations: 23.83 kB / 0.6563 GB, free: 6.691 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.15e-05/0.1357, allocations: 15.91 kB / 0.6563 GB, free: 6.676 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.003951/0.1397, allocations: 1.483 MB / 0.6577 GB, free: 5.188 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001472/0.1398, allocations: 75.64 kB / 0.6578 GB, free: 5.113 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.398e-05/0.1399, allocations: 8 kB / 0.6578 GB, free: 5.105 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00015/0.14, allocations: 59.81 kB / 0.6579 GB, free: 5.047 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.638e-05/0.1401, allocations: 23.95 kB / 0.6579 GB, free: 5.023 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.688e-05/0.1401, allocations: 4 kB / 0.6579 GB, free: 5.02 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003817/0.1439, allocations: 2.618 MB / 0.6605 GB, free: 2.398 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.936e-05/0.144, allocations: 15.91 kB / 0.6605 GB, free: 2.383 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.311e-05/0.144, allocations: 23.97 kB / 0.6605 GB, free: 2.359 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.003098/0.1471, allocations: 1.797 MB / 0.6623 GB, free: 0.5586 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.1472, allocations: 7.984 kB / 0.6623 GB, free: 0.5508 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.784e-06/0.1472, allocations: 0 / 0.6623 GB, free: 0.5508 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.1472, allocations: 4 kB / 0.6623 GB, free: 0.5469 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.001106/0.1483, allocations: 0.5191 MB / 0.6628 GB, free: 15.99 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.1483, allocations: 8.031 kB / 0.6628 GB, free: 15.98 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003237/0.1486, allocations: 52.52 kB / 0.6628 GB, free: 15.93 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001074/0.1487, allocations: 116.5 kB / 0.6629 GB, free: 15.79 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.799e-05/0.1488, allocations: 59.97 kB / 0.663 GB, free: 15.72 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.563e-05/0.1488, allocations: 4.375 kB / 0.663 GB, free: 15.72 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002893/0.1491, allocations: 148.3 kB / 0.6631 GB, free: 15.56 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.1491, allocations: 0 / 0.6631 GB, free: 15.56 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.458e-05/0.1491, allocations: 8 kB / 0.6632 GB, free: 15.55 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.297e-06/0.1492, allocations: 4 kB / 0.6632 GB, free: 15.55 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001634/0.1493, allocations: 92.59 kB / 0.6632 GB, free: 15.46 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003931/0.1497, allocations: 319.6 kB / 0.6636 GB, free: 15.11 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002051/0.1499, allocations: 119 kB / 0.6637 GB, free: 14.98 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.773e-05/0.15, allocations: 43.66 kB / 0.6637 GB, free: 14.93 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005841/0.1558, allocations: 3.051 MB / 0.6667 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.209e-05/0.1558, allocations: 41.33 kB / 0.6667 GB, free: 11.83 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=13): time 1.693e-06/0.1558, allocations: 0 / 0.6667 GB, free: 11.83 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13): time 0.0003653/0.1562, allocations: 156 kB / 0.6669 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.095e-05/0.1562, allocations: 51.41 kB / 0.6669 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.535e-05/0.1563, allocations: 166.1 kB / 0.6671 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.457e-05/0.1563, allocations: 25.7 kB / 0.6671 GB, free: 11.4 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.991e-05/0.1564, allocations: 138.8 kB / 0.6672 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.443e-05/0.1564, allocations: 39.64 kB / 0.6673 GB, free: 11.22 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.029e-05/0.1565, allocations: 39.36 kB / 0.6673 GB, free: 11.18 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.1566, allocations: 0.4884 MB / 0.6678 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.42e-05/0.1566, allocations: 19.98 kB / 0.6678 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.939e-05/0.1566, allocations: 27.92 kB / 0.6678 GB, free: 10.63 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.532e-05/0.1567, allocations: 66.98 kB / 0.6679 GB, free: 10.56 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1567, allocations: 0 / 0.6679 GB, free: 10.56 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001418/0.1569, allocations: 101.6 kB / 0.668 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.1569, allocations: 4 kB / 0.668 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.1569, allocations: 48 / 0.668 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.1569, allocations: 3.984 kB / 0.668 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.419e-05/0.157, allocations: 31.92 kB / 0.668 GB, free: 10.42 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.024e-06/0.157, allocations: 0 / 0.668 GB, free: 10.42 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.804e-05/0.157, allocations: 7.938 kB / 0.668 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.917e-06/0.157, allocations: 4 kB / 0.668 GB, free: 10.41 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 8.088e-05/0.1571, allocations: 168.5 kB / 0.6682 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.961e-05/0.1572, allocations: 11.95 kB / 0.6682 GB, free: 10.22 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002998/0.1575, allocations: 264.4 kB / 0.6685 GB, free: 9.953 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.837e-06/0.1575, allocations: 4 kB / 0.6685 GB, free: 9.949 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.1575, allocations: 0 / 0.6685 GB, free: 9.949 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.1575, allocations: 3.984 kB / 0.6685 GB, free: 9.945 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001724/0.1576, allocations: 200.3 kB / 0.6687 GB, free: 9.715 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.1577, allocations: 0 / 0.6687 GB, free: 9.715 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.882e-05/0.1577, allocations: 27.98 kB / 0.6687 GB, free: 9.688 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.1577, allocations: 0 / 0.6687 GB, free: 9.688 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.1577, allocations: 7.984 kB / 0.6687 GB, free: 9.68 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.055e-06/0.1577, allocations: 3.938 kB / 0.6687 GB, free: 9.676 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1577, allocations: 0 / 0.6687 GB, free: 9.676 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002683/0.158, allocations: 340 kB / 0.669 GB, free: 9.324 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.777e-05/0.158, allocations: 35.75 kB / 0.6691 GB, free: 9.289 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.345e-05/0.1581, allocations: 0 / 0.6691 GB, free: 9.289 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.948e-05/0.1581, allocations: 8 kB / 0.6691 GB, free: 9.281 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.536e-05/0.1581, allocations: 7.984 kB / 0.6691 GB, free: 9.273 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.01e-05/0.1582, allocations: 11.98 kB / 0.6691 GB, free: 9.262 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.13e-05/0.1582, allocations: 123.2 kB / 0.6692 GB, free: 9.141 MB / 0.6355 GB Notification: Performance of sort global known variables: time 9e-08/0.1582, allocations: 0 / 0.6692 GB, free: 9.141 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000686/0.1589, allocations: 303.7 kB / 0.6695 GB, free: 8.844 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.0009668/0.1598, allocations: 440.7 kB / 0.6699 GB, free: 8.406 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001729/0.16, allocations: 103.5 kB / 0.67 GB, free: 8.301 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.16, allocations: 0 / 0.67 GB, free: 8.301 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.08e-05/0.1601, allocations: 79.59 kB / 0.6701 GB, free: 8.219 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002579/0.1604, allocations: 38.3 kB / 0.6701 GB, free: 8.184 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007102/0.1611, allocations: 286.3 kB / 0.6704 GB, free: 7.879 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.226e-05/0.1611, allocations: 79.44 kB / 0.6705 GB, free: 7.785 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 9.138e-05/0.1612, allocations: 28.59 kB / 0.6705 GB, free: 7.758 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.185e-05/0.1612, allocations: 12.5 kB / 0.6705 GB, free: 7.746 MB / 0.6355 GB Notification: Performance of SimCode: time 7.62e-07/0.1612, allocations: 7.938 kB / 0.6705 GB, free: 7.738 MB / 0.6355 GB Notification: Performance of Templates: time 0.2652/0.4265, allocations: 11.73 MB / 0.682 GB, free: 64.79 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=240 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.9415605259127915]