Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0007487/0.0007487, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001093/0.001842, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006532/0.0006532, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000839/0.001492, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9618/0.9618, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1102/1.072, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Examples/PPD12/Structure.mo:531:21-535:34: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-master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo): time 0.7379/0.7379, allocations: 155.3 MB / 399.5 MB, free: 15.8 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/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-master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2916/1.03, allocations: 49.14 MB / 448.6 MB, free: 5.898 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/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_dev_IDEAS.Media.Examples.SteamSaturationConsistencyCheck") translateModel(IDEAS.Media.Examples.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.SteamSaturationConsistencyCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.764e-06/1.764e-06, allocations: 0.6562 kB / 449.9 MB, free: 4.617 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.039e-05/2.215e-05, allocations: 2.312 kB / 449.9 MB, free: 4.613 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamSaturationConsistencyCheck): time 0.1183/0.1183, allocations: 131.2 MB / 0.5675 GB, free: 1.402 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.007024/0.1253, allocations: 7.977 MB / 0.5753 GB, free: 9.398 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.105e-05/0.1254, allocations: 0 / 0.5753 GB, free: 9.398 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0001126/0.1255, allocations: 19.89 kB / 0.5753 GB, free: 9.379 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 3.315e-05/0.1255, allocations: 15.86 kB / 0.5753 GB, free: 9.363 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.002876/0.1284, allocations: 1.323 MB / 0.5766 GB, free: 8.035 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.000123/0.1285, allocations: 83.59 kB / 0.5767 GB, free: 7.953 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 2.995e-05/0.1286, allocations: 3.984 kB / 0.5767 GB, free: 7.949 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001248/0.1287, allocations: 59.88 kB / 0.5768 GB, free: 7.891 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 7.76e-05/0.1288, allocations: 31.91 kB / 0.5768 GB, free: 7.859 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.189e-05/0.1288, allocations: 3.938 kB / 0.5768 GB, free: 7.855 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003632/0.1324, allocations: 2.782 MB / 0.5795 GB, free: 5.07 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 2.843e-05/0.1324, allocations: 11.94 kB / 0.5795 GB, free: 5.059 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 3.118e-05/0.1325, allocations: 16 kB / 0.5796 GB, free: 5.043 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.002054/0.1345, allocations: 1.322 MB / 0.5808 GB, free: 3.719 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 1.328e-05/0.1345, allocations: 0 / 0.5808 GB, free: 3.719 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.512e-06/0.1345, allocations: 4 kB / 0.5809 GB, free: 3.715 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 7.835e-06/0.1345, allocations: 0 / 0.5809 GB, free: 3.715 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.0009221/0.1355, allocations: 0.5651 MB / 0.5814 GB, free: 3.109 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 2.918e-05/0.1355, allocations: 8.031 kB / 0.5814 GB, free: 3.102 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002528/0.1357, allocations: 56.61 kB / 0.5815 GB, free: 3.047 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.704e-05/0.1358, allocations: 113.7 kB / 0.5816 GB, free: 2.91 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.23e-05/0.1359, allocations: 59.97 kB / 0.5816 GB, free: 2.84 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.37e-05/0.1359, allocations: 4.375 kB / 0.5816 GB, free: 2.836 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002151/0.1361, allocations: 151.1 kB / 0.5818 GB, free: 2.672 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.64e-06/0.1361, allocations: 0 / 0.5818 GB, free: 2.672 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-06/0.1361, allocations: 0 / 0.5818 GB, free: 2.672 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.1361, allocations: 4 kB / 0.5818 GB, free: 2.668 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001341/0.1362, allocations: 77.88 kB / 0.5819 GB, free: 2.594 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002709/0.1365, allocations: 217.7 kB / 0.5821 GB, free: 2.363 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001496/0.1367, allocations: 102.5 kB / 0.5822 GB, free: 2.254 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.16e-05/0.1367, allocations: 24.84 kB / 0.5822 GB, free: 2.227 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005071/0.1418, allocations: 2.668 MB / 0.5848 GB, free: 15.56 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.582e-05/0.1418, allocations: 38.5 kB / 0.5848 GB, free: 15.51 MB / 0.573 GB Notification: Performance of pre-optimization done (n=13): time 1.232e-06/0.1418, allocations: 3.938 kB / 0.5848 GB, free: 15.51 MB / 0.573 GB Notification: Performance of matching and sorting (n=13): time 0.000254/0.142, allocations: 125 kB / 0.585 GB, free: 15.38 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.302e-05/0.1421, allocations: 55.41 kB / 0.585 GB, free: 15.32 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.559e-05/0.1421, allocations: 102.7 kB / 0.5851 GB, free: 15.2 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 1.297e-05/0.1421, allocations: 29.7 kB / 0.5851 GB, free: 15.17 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 2.855e-05/0.1422, allocations: 90.59 kB / 0.5852 GB, free: 15.08 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 3.169e-05/0.1422, allocations: 47.56 kB / 0.5853 GB, free: 15.03 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.125e-05/0.1422, allocations: 25.7 kB / 0.5853 GB, free: 15 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 7.379e-05/0.1423, allocations: 322.8 kB / 0.5856 GB, free: 14.68 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.435e-05/0.1423, allocations: 12 kB / 0.5856 GB, free: 14.66 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.587e-05/0.1423, allocations: 15.98 kB / 0.5856 GB, free: 14.65 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.409e-05/0.1424, allocations: 48.77 kB / 0.5857 GB, free: 14.6 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1424, allocations: 0 / 0.5857 GB, free: 14.6 MB / 0.573 GB Notification: Performance of matching and sorting (n=13) (initialization): time 8.406e-05/0.1425, allocations: 76.11 kB / 0.5857 GB, free: 14.52 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.1425, allocations: 8 kB / 0.5857 GB, free: 14.51 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.1425, allocations: 0 / 0.5857 GB, free: 14.51 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.278e-06/0.1425, allocations: 0 / 0.5857 GB, free: 14.51 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.817e-05/0.1426, allocations: 31.92 kB / 0.5858 GB, free: 14.48 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.525e-06/0.1426, allocations: 0 / 0.5858 GB, free: 14.48 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.01e-05/0.1426, allocations: 11.89 kB / 0.5858 GB, free: 14.47 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.1426, allocations: 7.984 kB / 0.5858 GB, free: 14.46 MB / 0.573 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 5.576e-05/0.1427, allocations: 117.8 kB / 0.5859 GB, free: 14.34 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.883e-05/0.1427, allocations: 11.94 kB / 0.5859 GB, free: 14.32 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002051/0.1429, allocations: 252.9 kB / 0.5862 GB, free: 14.07 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.989e-06/0.1429, allocations: 11.98 kB / 0.5862 GB, free: 14.06 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-06/0.1429, allocations: 3.938 kB / 0.5862 GB, free: 14.06 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.1429, allocations: 0 / 0.5862 GB, free: 14.06 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001334/0.143, allocations: 134 kB / 0.5863 GB, free: 13.91 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.143, allocations: 4 kB / 0.5863 GB, free: 13.91 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.653e-05/0.1431, allocations: 31.97 kB / 0.5863 GB, free: 13.88 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 3.079e-05/0.1431, allocations: 35.7 kB / 0.5864 GB, free: 13.84 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.1431, allocations: 0 / 0.5864 GB, free: 13.84 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.825e-06/0.1431, allocations: 8 kB / 0.5864 GB, free: 13.83 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.1431, allocations: 0 / 0.5864 GB, free: 13.83 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.1431, allocations: 0 / 0.5864 GB, free: 13.83 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001664/0.1433, allocations: 291.1 kB / 0.5867 GB, free: 13.53 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.117e-05/0.1433, allocations: 11.88 kB / 0.5867 GB, free: 13.52 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.491e-05/0.1434, allocations: 4 kB / 0.5867 GB, free: 13.52 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.519e-05/0.1434, allocations: 7.969 kB / 0.5867 GB, free: 13.51 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.977e-06/0.1434, allocations: 8 kB / 0.5867 GB, free: 13.5 MB / 0.573 GB Notification: Performance of sorting global known variables: time 1.213e-05/0.1434, allocations: 16.84 kB / 0.5867 GB, free: 13.48 MB / 0.573 GB Notification: Performance of sort global known variables: time 6e-08/0.1434, allocations: 0 / 0.5867 GB, free: 13.48 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0005835/0.144, allocations: 303.6 kB / 0.587 GB, free: 13.18 MB / 0.573 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.0008752/0.1449, allocations: 460.1 kB / 0.5874 GB, free: 12.73 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0001045/0.145, allocations: 80.7 kB / 0.5875 GB, free: 12.64 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.145, allocations: 0 / 0.5875 GB, free: 12.64 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 5.924e-05/0.145, allocations: 72.75 kB / 0.5876 GB, free: 12.57 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002019/0.1452, allocations: 87.36 kB / 0.5877 GB, free: 12.47 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001242/0.1465, allocations: 287.4 kB / 0.5879 GB, free: 12.16 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.84e-05/0.1465, allocations: 79.83 kB / 0.588 GB, free: 12.06 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 7.726e-05/0.1466, allocations: 32.41 kB / 0.588 GB, free: 12.04 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.547e-05/0.1467, allocations: 81.25 kB / 0.5881 GB, free: 11.96 MB / 0.573 GB Notification: Performance of SimCode: time 6.21e-07/0.1467, allocations: 0 / 0.5881 GB, free: 11.96 MB / 0.573 GB Notification: Performance of Templates: time 0.01216/0.1589, allocations: 11.14 MB / 0.599 GB, free: 0.8477 MB / 0.573 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.sim & ./IDEAS_dev_IDEAS.Media.Examples.SteamSaturationConsistencyCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9220889136195183]