Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.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.0006909/0.0006909, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001017/0.001708, allocations: 435.8 kB / 10.33 MB, free: 368 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.0006546/0.0006546, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008452/0.0015, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 1.03/1.03, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09161/1.121, allocations: 53.65 MB / 243.2 MB, free: 15.6 MB / 250.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.7824/0.7824, allocations: 154.6 MB / 398.5 MB, free: 0.5391 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2743/1.057, allocations: 49.04 MB / 447.6 MB, free: 6.738 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/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.SteamDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck") translateModel(IDEAS.Media.Examples.SteamDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 448.8 MB, free: 5.488 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.036e-06/9.188e-06, allocations: 7.234 kB / 448.8 MB, free: 5.484 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamDerivativeCheck): time 0.00141/0.001419, allocations: 1.342 MB / 450.2 MB, free: 4.172 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.1275/0.1289, allocations: 133.2 MB / 0.5698 GB, free: 14.88 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.191e-05/0.129, allocations: 0 / 0.5698 GB, free: 14.88 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 1.492e-05/0.129, allocations: 7.922 kB / 0.5698 GB, free: 14.87 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 3.233e-05/0.129, allocations: 7.938 kB / 0.5698 GB, free: 14.86 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009311/0.1299, allocations: 422.2 kB / 0.5702 GB, free: 14.45 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 7.687e-05/0.13, allocations: 39.84 kB / 0.5702 GB, free: 14.41 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 3.606e-05/0.1301, allocations: 4 kB / 0.5702 GB, free: 14.4 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 6.382e-05/0.1301, allocations: 39.83 kB / 0.5703 GB, free: 14.36 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 6.49e-05/0.1302, allocations: 11.98 kB / 0.5703 GB, free: 14.35 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.161e-05/0.1302, allocations: 4 kB / 0.5703 GB, free: 14.35 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001043/0.1312, allocations: 0.8425 MB / 0.5711 GB, free: 13.5 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.581e-05/0.1313, allocations: 7.938 kB / 0.5711 GB, free: 13.5 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 2.202e-05/0.1313, allocations: 15.25 kB / 0.5711 GB, free: 13.48 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0004758/0.1318, allocations: 415.4 kB / 0.5715 GB, free: 13.08 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 1.631e-05/0.1318, allocations: 0 / 0.5715 GB, free: 13.08 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.473e-06/0.1318, allocations: 4 kB / 0.5715 GB, free: 13.07 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.631e-05/0.1318, allocations: 0 / 0.5715 GB, free: 13.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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004403/0.1322, allocations: 302.4 kB / 0.5718 GB, free: 12.76 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.231e-05/0.1323, allocations: 11.97 kB / 0.5718 GB, free: 12.75 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000331/0.1326, allocations: 101.9 kB / 0.5719 GB, free: 12.63 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.481e-05/0.1327, allocations: 109.8 kB / 0.572 GB, free: 12.5 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/0.1327, allocations: 384 / 0.572 GB, free: 12.5 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.206e-05/0.1327, allocations: 20.33 kB / 0.572 GB, free: 12.48 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001134/0.1328, allocations: 135.3 kB / 0.5722 GB, free: 12.32 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.1328, allocations: 3.938 kB / 0.5722 GB, free: 12.32 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.424e-06/0.1328, allocations: 4 kB / 0.5722 GB, free: 12.31 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.471e-06/0.1328, allocations: 4 kB / 0.5722 GB, free: 12.31 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.189e-05/0.1329, allocations: 7.984 kB / 0.5722 GB, free: 12.3 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.046e-05/0.1329, allocations: 68.98 kB / 0.5723 GB, free: 12.22 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 6.061e-05/0.133, allocations: 42.62 kB / 0.5723 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.442e-05/0.133, allocations: 12.86 kB / 0.5723 GB, free: 12.15 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004264/0.1373, allocations: 2.447 MB / 0.5747 GB, free: 9.703 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.489e-05/0.1373, allocations: 38.7 kB / 0.5747 GB, free: 9.656 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=7): time 1.493e-06/0.1373, allocations: 0 / 0.5747 GB, free: 9.656 MB / 0.5573 GB Notification: Performance of matching and sorting (n=11): time 0.01391/0.1512, allocations: 6.405 MB / 0.581 GB, free: 3.125 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.876e-05/0.1513, allocations: 55.41 kB / 0.581 GB, free: 3.059 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.977e-05/0.1513, allocations: 94.72 kB / 0.5811 GB, free: 2.953 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/0.1513, allocations: 33.7 kB / 0.5812 GB, free: 2.914 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 1.977e-05/0.1513, allocations: 80.14 kB / 0.5812 GB, free: 2.832 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.794e-05/0.1514, allocations: 47.56 kB / 0.5813 GB, free: 2.785 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.406e-05/0.1514, allocations: 25.7 kB / 0.5813 GB, free: 2.754 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 7.471e-05/0.1515, allocations: 318.8 kB / 0.5816 GB, free: 2.434 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.471e-05/0.1515, allocations: 12 kB / 0.5816 GB, free: 2.422 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.351e-05/0.1515, allocations: 14.61 kB / 0.5816 GB, free: 2.41 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.563e-05/0.1516, allocations: 48.95 kB / 0.5817 GB, free: 2.359 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.1516, allocations: 0 / 0.5817 GB, free: 2.359 MB / 0.5573 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001082/0.1517, allocations: 81.59 kB / 0.5818 GB, free: 2.273 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.1517, allocations: 4 kB / 0.5818 GB, free: 2.27 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.1517, allocations: 3.938 kB / 0.5818 GB, free: 2.266 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.218e-06/0.1517, allocations: 3.938 kB / 0.5818 GB, free: 2.262 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.026e-05/0.1518, allocations: 35.92 kB / 0.5818 GB, free: 2.227 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.675e-06/0.1518, allocations: 0 / 0.5818 GB, free: 2.227 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.356e-05/0.1518, allocations: 0 / 0.5818 GB, free: 2.227 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-06/0.1518, allocations: 4 kB / 0.5818 GB, free: 2.223 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 (14): * Single equations (assignments): 14 * 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 6.084e-05/0.1519, allocations: 113.8 kB / 0.5819 GB, free: 2.102 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.325e-05/0.1519, allocations: 19.89 kB / 0.5819 GB, free: 2.082 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001379/0.1521, allocations: 97.42 kB / 0.582 GB, free: 1.977 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.1521, allocations: 4 kB / 0.582 GB, free: 1.973 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.1521, allocations: 0 / 0.582 GB, free: 1.973 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.1521, allocations: 0 / 0.582 GB, free: 1.973 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.219e-05/0.1521, allocations: 73.89 kB / 0.5821 GB, free: 1.883 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1521, allocations: 4 kB / 0.5821 GB, free: 1.879 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.25e-05/0.1522, allocations: 27.98 kB / 0.5821 GB, free: 1.852 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 3.486e-05/0.1522, allocations: 7.984 kB / 0.5821 GB, free: 1.844 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.1522, allocations: 4 kB / 0.5821 GB, free: 1.84 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.468e-06/0.1523, allocations: 4 kB / 0.5822 GB, free: 1.836 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.1523, allocations: 3.938 kB / 0.5822 GB, free: 1.832 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.1523, allocations: 3.984 kB / 0.5822 GB, free: 1.828 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000159/0.1524, allocations: 128.8 kB / 0.5823 GB, free: 1.684 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.102e-05/0.1524, allocations: 4 kB / 0.5823 GB, free: 1.68 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.805e-05/0.1525, allocations: 8 kB / 0.5823 GB, free: 1.672 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.601e-05/0.1525, allocations: 11.92 kB / 0.5823 GB, free: 1.66 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.376e-06/0.1525, allocations: 11.98 kB / 0.5823 GB, free: 1.648 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 7.975e-06/0.1525, allocations: 4.859 kB / 0.5823 GB, free: 1.641 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.1525, allocations: 0 / 0.5823 GB, free: 1.641 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001136/0.1536, allocations: 0.5621 MB / 0.5829 GB, free: 1.078 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hVapSym,cpSym,cvSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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 Backend phase and start with SimCode phase: time 0.001802/0.1554, allocations: 380 kB / 0.5832 GB, free: 0.6992 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 9.284e-05/0.1555, allocations: 58.33 kB / 0.5833 GB, free: 0.6406 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.1555, allocations: 8 kB / 0.5833 GB, free: 0.6328 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 2.835e-05/0.1556, allocations: 32.17 kB / 0.5833 GB, free: 0.6016 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001215/0.1557, allocations: 35.92 kB / 0.5834 GB, free: 0.5664 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009165/0.1566, allocations: 203.5 kB / 0.5836 GB, free: 352 kB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.978e-05/0.1566, allocations: 63.86 kB / 0.5836 GB, free: 268 kB / 0.5573 GB Notification: Performance of simCode: alias equations: time 5.712e-05/0.1567, allocations: 24.59 kB / 0.5836 GB, free: 244 kB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.386e-05/0.1568, allocations: 79.38 kB / 0.5837 GB, free: 164 kB / 0.5573 GB Notification: Performance of SimCode: time 8.22e-07/0.1568, allocations: 0 / 0.5837 GB, free: 164 kB / 0.5573 GB Notification: Performance of Templates: time 0.03104/0.1878, allocations: 25.87 MB / 0.609 GB, free: 6.355 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.sim & ./IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.371656023897231]