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.0009811/0.0009811, allocations: 80.88 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001139/0.001139, allocations: 181 kB / 23.36 MB, free: 1.133 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 0.9329/0.9329, allocations: 177.2 MB / 203.8 MB, free: 5.477 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.7729/0.7729, allocations: 154.6 MB / 414.8 MB, free: 0.5156 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.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.764e-06/1.764e-06, allocations: 0 / 479.9 MB, free: 6.992 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.3e-05/1.476e-05, allocations: 4.25 kB / 480 MB, free: 6.988 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamDerivativeCheck): time 0.001622/0.001637, allocations: 1.307 MB / 481.3 MB, free: 5.699 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.1175/0.1191, allocations: 132.9 MB / 0.5997 GB, free: 0.75 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.677e-05/0.1191, allocations: 0 / 0.5997 GB, free: 0.75 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.103e-05/0.1191, allocations: 3.984 kB / 0.5997 GB, free: 0.7461 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 4.406e-05/0.1192, allocations: 3.938 kB / 0.5997 GB, free: 0.7422 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001084/0.1203, allocations: 474.1 kB / 0.6002 GB, free: 284 kB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 7.589e-05/0.1203, allocations: 39.86 kB / 0.6002 GB, free: 244 kB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 3.869e-05/0.1204, allocations: 11.98 kB / 0.6002 GB, free: 232 kB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 5.946e-05/0.1204, allocations: 23.97 kB / 0.6003 GB, free: 208 kB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 6.674e-05/0.1205, allocations: 19.91 kB / 0.6003 GB, free: 188 kB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.176e-05/0.1205, allocations: 4 kB / 0.6003 GB, free: 184 kB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009791/0.1215, allocations: 0.7919 MB / 0.601 GB, free: 15.39 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 1.886e-05/0.1215, allocations: 11.98 kB / 0.6011 GB, free: 15.38 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 2.09e-05/0.1215, allocations: 15.98 kB / 0.6011 GB, free: 15.36 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.000507/0.1221, allocations: 0.5651 MB / 0.6016 GB, free: 14.79 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.1221, allocations: 0 / 0.6016 GB, free: 14.79 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.293e-06/0.1221, allocations: 0 / 0.6016 GB, free: 14.79 MB / 0.573 GB Notification: Performance of Transformations before backend: time 3.767e-06/0.1221, allocations: 4 kB / 0.6016 GB, free: 14.79 MB / 0.573 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.000349/0.1224, allocations: 275.5 kB / 0.6019 GB, free: 14.5 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 2.876e-05/0.1224, allocations: 8.031 kB / 0.6019 GB, free: 14.49 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001337/0.1226, allocations: 20.86 kB / 0.6019 GB, free: 14.47 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.69e-05/0.1226, allocations: 109.7 kB / 0.602 GB, free: 14.34 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.528e-06/0.1226, allocations: 384 / 0.602 GB, free: 14.34 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.571e-05/0.1227, allocations: 24.58 kB / 0.602 GB, free: 14.32 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001038/0.1228, allocations: 127.3 kB / 0.6022 GB, free: 14.17 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.635e-06/0.1228, allocations: 3.938 kB / 0.6022 GB, free: 14.16 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.014e-06/0.1228, allocations: 0 / 0.6022 GB, free: 14.16 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.1228, allocations: 4 kB / 0.6022 GB, free: 14.16 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.88e-05/0.1228, allocations: 11.98 kB / 0.6022 GB, free: 14.15 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.259e-05/0.1229, allocations: 69.05 kB / 0.6023 GB, free: 14.07 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 5.92e-05/0.123, allocations: 46.62 kB / 0.6023 GB, free: 14.01 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.538e-05/0.123, allocations: 12.8 kB / 0.6023 GB, free: 14 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004264/0.1272, allocations: 2.454 MB / 0.6047 GB, free: 11.54 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.635e-05/0.1273, allocations: 34.55 kB / 0.6047 GB, free: 11.5 MB / 0.573 GB Notification: Performance of pre-optimization done (n=7): time 9.72e-07/0.1273, allocations: 0 / 0.6047 GB, free: 11.5 MB / 0.573 GB Notification: Performance of matching and sorting (n=11): time 0.01412/0.1414, allocations: 6.336 MB / 0.6109 GB, free: 5.035 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.868e-05/0.1414, allocations: 59.39 kB / 0.611 GB, free: 4.965 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.314e-05/0.1415, allocations: 98.72 kB / 0.6111 GB, free: 4.855 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 1.395e-05/0.1415, allocations: 33.7 kB / 0.6111 GB, free: 4.816 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 2.484e-05/0.1415, allocations: 80.14 kB / 0.6112 GB, free: 4.734 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 3.362e-05/0.1415, allocations: 39.67 kB / 0.6112 GB, free: 4.695 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.932e-05/0.1416, allocations: 29.64 kB / 0.6113 GB, free: 4.66 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 6.748e-05/0.1416, allocations: 318.8 kB / 0.6116 GB, free: 4.34 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.442e-05/0.1416, allocations: 12 kB / 0.6116 GB, free: 4.328 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.068e-05/0.1417, allocations: 11.98 kB / 0.6116 GB, free: 4.316 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.131e-05/0.1417, allocations: 39.2 kB / 0.6116 GB, free: 4.277 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.1417, allocations: 0 / 0.6116 GB, free: 4.277 MB / 0.573 GB Notification: Performance of matching and sorting (n=14) (initialization): time 9.849e-05/0.1418, allocations: 89.67 kB / 0.6117 GB, free: 4.184 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.052e-05/0.1418, allocations: 4 kB / 0.6117 GB, free: 4.18 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.1418, allocations: 7.922 kB / 0.6117 GB, free: 4.172 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.1418, allocations: 0 / 0.6117 GB, free: 4.172 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.403e-05/0.1419, allocations: 23.98 kB / 0.6117 GB, free: 4.148 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.524e-06/0.1419, allocations: 0 / 0.6117 GB, free: 4.148 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.469e-05/0.1419, allocations: 4 kB / 0.6117 GB, free: 4.145 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.774e-06/0.1419, allocations: 7.984 kB / 0.6118 GB, free: 4.137 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 (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 5.511e-05/0.142, allocations: 113.8 kB / 0.6119 GB, free: 4.016 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.175e-05/0.142, allocations: 15.89 kB / 0.6119 GB, free: 4 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001258/0.1421, allocations: 100.7 kB / 0.612 GB, free: 3.898 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.1421, allocations: 4 kB / 0.612 GB, free: 3.895 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.993e-06/0.1421, allocations: 4 kB / 0.612 GB, free: 3.891 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.1421, allocations: 3.984 kB / 0.612 GB, free: 3.887 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.783e-05/0.1422, allocations: 81.83 kB / 0.6121 GB, free: 3.789 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.1422, allocations: 0 / 0.6121 GB, free: 3.789 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.934e-05/0.1423, allocations: 27.92 kB / 0.6121 GB, free: 3.762 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.1423, allocations: 8 kB / 0.6121 GB, free: 3.754 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.651e-06/0.1423, allocations: 0 / 0.6121 GB, free: 3.754 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.61e-07/0.1423, allocations: 0 / 0.6121 GB, free: 3.754 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.1423, allocations: 3.938 kB / 0.6121 GB, free: 3.75 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000137/0.1424, allocations: 113 kB / 0.6122 GB, free: 3.621 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 2.723e-05/0.1425, allocations: 11.95 kB / 0.6122 GB, free: 3.609 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.12e-05/0.1425, allocations: 3.984 kB / 0.6122 GB, free: 3.605 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.663e-05/0.1425, allocations: 8 kB / 0.6122 GB, free: 3.598 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.577e-05/0.1425, allocations: 11.92 kB / 0.6122 GB, free: 3.586 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.513e-06/0.1425, allocations: 8 kB / 0.6122 GB, free: 3.578 MB / 0.573 GB Notification: Performance of sorting global known variables: time 9.227e-06/0.1425, allocations: 12.78 kB / 0.6123 GB, free: 3.562 MB / 0.573 GB Notification: Performance of sort global known variables: time 6e-08/0.1425, allocations: 0 / 0.6123 GB, free: 3.562 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.00124/0.1438, allocations: 0.5621 MB / 0.6128 GB, free: 3 MB / 0.573 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.002291/0.1461, allocations: 383.8 kB / 0.6132 GB, free: 2.617 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 9.139e-05/0.1462, allocations: 40.84 kB / 0.6132 GB, free: 2.574 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.1462, allocations: 7.938 kB / 0.6132 GB, free: 2.566 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 3.142e-05/0.1462, allocations: 28.84 kB / 0.6132 GB, free: 2.535 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001218/0.1463, allocations: 19.98 kB / 0.6133 GB, free: 2.516 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004992/0.1468, allocations: 243.4 kB / 0.6135 GB, free: 2.254 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.854e-05/0.1469, allocations: 67.3 kB / 0.6136 GB, free: 2.168 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 5.416e-05/0.1469, allocations: 24.59 kB / 0.6136 GB, free: 2.145 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.213e-05/0.147, allocations: 79.34 kB / 0.6137 GB, free: 2.066 MB / 0.573 GB Notification: Performance of SimCode: time 5.61e-07/0.147, allocations: 0 / 0.6137 GB, free: 2.066 MB / 0.573 GB Notification: Performance of Templates: time 0.02976/0.1767, allocations: 25.82 MB / 0.6389 GB, free: 8.316 MB / 0.6042 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.168544672895223]