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.0009719/0.0009719, allocations: 93.06 kB / 19.65 MB, free: 276 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.0009494/0.0009494, allocations: 165 kB / 23.02 MB, free: 1.547 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.02/1.02, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.8088/0.8088, allocations: 154.6 MB / 414.5 MB, free: 0.6719 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 1.864e-06/1.864e-06, allocations: 0 / 0.5203 GB, free: 1.145 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.838e-05/3.025e-05, allocations: 2.312 kB / 0.5203 GB, free: 1.141 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamSaturationConsistencyCheck): time 0.4309/0.4309, allocations: 131.3 MB / 0.6485 GB, free: 18.21 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.007267/0.4382, allocations: 7.949 MB / 0.6563 GB, free: 18.16 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.229e-05/0.4382, allocations: 0.9375 kB / 0.6563 GB, free: 18.16 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0001931/0.4384, allocations: 27.36 kB / 0.6563 GB, free: 18.15 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 4.487e-05/0.4385, allocations: 19.98 kB / 0.6563 GB, free: 18.15 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.003566/0.442, allocations: 1.475 MB / 0.6577 GB, free: 18.12 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001286/0.4422, allocations: 77.14 kB / 0.6578 GB, free: 18.12 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 3.597e-05/0.4422, allocations: 4.969 kB / 0.6578 GB, free: 18.12 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001315/0.4423, allocations: 55.77 kB / 0.6579 GB, free: 18.12 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 7.287e-05/0.4424, allocations: 27.81 kB / 0.6579 GB, free: 18.12 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.715e-05/0.4424, allocations: 3.562 kB / 0.6579 GB, free: 18.12 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003487/0.4459, allocations: 2.621 MB / 0.6605 GB, free: 18.11 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 2.578e-05/0.4459, allocations: 15.77 kB / 0.6605 GB, free: 18.11 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 4.26e-05/0.446, allocations: 23.36 kB / 0.6605 GB, free: 18.11 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.002183/0.4482, allocations: 1.798 MB / 0.6623 GB, free: 18.07 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.4482, allocations: 0 / 0.6623 GB, free: 18.07 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.174e-06/0.4482, allocations: 3.875 kB / 0.6623 GB, free: 18.07 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.4482, allocations: 2.453 kB / 0.6623 GB, free: 18.07 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.001076/0.4492, allocations: 0.5158 MB / 0.6628 GB, free: 17.65 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/0.4493, allocations: 11.97 kB / 0.6628 GB, free: 17.65 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004813/0.4498, allocations: 57.16 kB / 0.6628 GB, free: 17.62 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.043e-05/0.4499, allocations: 111.1 kB / 0.6629 GB, free: 17.49 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.697e-05/0.4499, allocations: 59.22 kB / 0.663 GB, free: 17.43 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.4499, allocations: 13.52 kB / 0.663 GB, free: 17.43 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002348/0.4502, allocations: 142.8 kB / 0.6631 GB, free: 17.35 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.649e-06/0.4502, allocations: 6.531 kB / 0.6631 GB, free: 17.34 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.4502, allocations: 3.062 kB / 0.6631 GB, free: 17.34 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.4502, allocations: 2.438 kB / 0.6631 GB, free: 17.34 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001779/0.4504, allocations: 89.28 kB / 0.6632 GB, free: 17.34 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003663/0.4507, allocations: 320.4 kB / 0.6635 GB, free: 17.08 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002181/0.4509, allocations: 125 kB / 0.6637 GB, free: 17.04 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.094e-05/0.451, allocations: 46.31 kB / 0.6637 GB, free: 17.03 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008946/0.46, allocations: 3.058 MB / 0.6667 GB, free: 16.85 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.111e-05/0.46, allocations: 46.05 kB / 0.6667 GB, free: 16.8 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=13): time 3.827e-06/0.46, allocations: 0 / 0.6667 GB, free: 16.8 MB / 0.5573 GB Notification: Performance of matching and sorting (n=13): time 0.0007328/0.4607, allocations: 157.5 kB / 0.6669 GB, free: 16.76 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.19e-05/0.4608, allocations: 53.75 kB / 0.6669 GB, free: 16.7 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.4609, allocations: 163.2 kB / 0.6671 GB, free: 16.53 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.762e-05/0.4609, allocations: 25.7 kB / 0.6671 GB, free: 16.5 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 5.693e-05/0.461, allocations: 130.4 kB / 0.6672 GB, free: 16.37 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 5.908e-05/0.461, allocations: 43.11 kB / 0.6673 GB, free: 16.34 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.247e-05/0.4611, allocations: 38.36 kB / 0.6673 GB, free: 16.31 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001004/0.4612, allocations: 0.4904 MB / 0.6678 GB, free: 15.82 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.213e-05/0.4612, allocations: 21.44 kB / 0.6678 GB, free: 15.82 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.321e-05/0.4613, allocations: 19.59 kB / 0.6678 GB, free: 15.82 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001081/0.4614, allocations: 66.11 kB / 0.6679 GB, free: 15.8 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.4614, allocations: 3.938 kB / 0.6679 GB, free: 15.8 MB / 0.5573 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002164/0.4616, allocations: 97.34 kB / 0.668 GB, free: 15.77 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.827e-05/0.4616, allocations: 5.812 kB / 0.668 GB, free: 15.77 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.4617, allocations: 3.188 kB / 0.668 GB, free: 15.77 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.717e-05/0.4617, allocations: 0 / 0.668 GB, free: 15.77 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001353/0.4618, allocations: 23.42 kB / 0.668 GB, free: 15.77 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.4618, allocations: 2.375 kB / 0.668 GB, free: 15.77 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.562e-05/0.4619, allocations: 8.844 kB / 0.668 GB, free: 15.76 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.386e-05/0.4619, allocations: 7.5 kB / 0.668 GB, free: 15.76 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 9.334e-05/0.462, allocations: 166.2 kB / 0.6682 GB, free: 15.59 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.924e-05/0.4621, allocations: 19.86 kB / 0.6682 GB, free: 15.59 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004132/0.4625, allocations: 263.9 kB / 0.6685 GB, free: 15.52 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.185e-05/0.4625, allocations: 3.625 kB / 0.6685 GB, free: 15.52 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.4625, allocations: 3.5 kB / 0.6685 GB, free: 15.52 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.137e-06/0.4625, allocations: 2.953 kB / 0.6685 GB, free: 15.52 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002308/0.4627, allocations: 189.2 kB / 0.6687 GB, free: 15.37 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.744e-06/0.4627, allocations: 3.938 kB / 0.6687 GB, free: 15.36 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.329e-05/0.4628, allocations: 24.03 kB / 0.6687 GB, free: 15.36 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.4628, allocations: 5.094 kB / 0.6687 GB, free: 15.36 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.512e-05/0.4628, allocations: 10.64 kB / 0.6687 GB, free: 15.36 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.4629, allocations: 0 / 0.6687 GB, free: 15.36 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.4629, allocations: 0 / 0.6687 GB, free: 15.36 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003409/0.4632, allocations: 339.2 kB / 0.669 GB, free: 15.16 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 5.284e-05/0.4632, allocations: 32.23 kB / 0.6691 GB, free: 15.14 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.79e-05/0.4633, allocations: 6.062 kB / 0.6691 GB, free: 15.14 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/0.4634, allocations: 4.625 kB / 0.6691 GB, free: 15.14 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.503e-05/0.4634, allocations: 15.28 kB / 0.6691 GB, free: 15.14 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.334e-05/0.4634, allocations: 2.688 kB / 0.6691 GB, free: 15.14 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 3.025e-05/0.4634, allocations: 134.3 kB / 0.6692 GB, free: 15.02 MB / 0.5573 GB Notification: Performance of sort global known variables: time 9e-08/0.4634, allocations: 0 / 0.6692 GB, free: 15.02 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.00166/0.4651, allocations: 305.3 kB / 0.6695 GB, free: 14.99 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.002092/0.4672, allocations: 440.1 kB / 0.6699 GB, free: 14.88 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.000238/0.4674, allocations: 95.7 kB / 0.67 GB, free: 14.86 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.4674, allocations: 1.203 kB / 0.67 GB, free: 14.86 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001008/0.4675, allocations: 80.33 kB / 0.6701 GB, free: 14.85 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000369/0.4679, allocations: 29.19 kB / 0.6701 GB, free: 14.84 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009381/0.4688, allocations: 304.8 kB / 0.6704 GB, free: 14.67 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.685e-05/0.4689, allocations: 73.02 kB / 0.6705 GB, free: 14.6 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001116/0.469, allocations: 32.67 kB / 0.6705 GB, free: 14.59 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.15e-05/0.4691, allocations: 14.12 kB / 0.6705 GB, free: 14.59 MB / 0.5573 GB Notification: Performance of SimCode: time 1.412e-06/0.4691, allocations: 0 / 0.6705 GB, free: 14.59 MB / 0.5573 GB Notification: Performance of Templates: time 0.01906/0.4881, allocations: 10.33 MB / 0.6806 GB, free: 13.57 MB / 0.5573 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.684054852928966]