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.001391/0.001391, allocations: 92.7 kB / 19.44 MB, free: 324 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.001628/0.001628, allocations: 161.3 kB / 22.76 MB, free: 1.652 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.498/1.498, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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 1.224/1.224, allocations: 154.6 MB / 414.2 MB, free: 0.6367 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 178] 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.653e-06/1.653e-06, allocations: 0 / 0.5196 GB, free: 2.602 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.121e-05/3.286e-05, allocations: 9.062 kB / 0.5196 GB, free: 2.594 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamDerivativeCheck): time 0.002972/0.003005, allocations: 1.261 MB / 0.5208 GB, free: 1.34 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.1802/0.1832, allocations: 120.9 MB / 0.6389 GB, free: 8.129 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.805e-05/0.1832, allocations: 0 / 0.6389 GB, free: 8.129 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.9e-05/0.1832, allocations: 3.938 kB / 0.6389 GB, free: 8.125 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.81e-05/0.1833, allocations: 3.938 kB / 0.6389 GB, free: 8.121 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001444/0.1847, allocations: 474.1 kB / 0.6394 GB, free: 7.656 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.568e-05/0.1848, allocations: 35.91 kB / 0.6394 GB, free: 7.621 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.618e-05/0.1849, allocations: 4 kB / 0.6394 GB, free: 7.617 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.433e-05/0.1849, allocations: 35.83 kB / 0.6394 GB, free: 7.582 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.247e-05/0.185, allocations: 19.97 kB / 0.6395 GB, free: 7.562 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.341e-05/0.185, allocations: 0 / 0.6395 GB, free: 7.562 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001587/0.1866, allocations: 0.7996 MB / 0.6402 GB, free: 6.762 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.822e-05/0.1866, allocations: 4 kB / 0.6403 GB, free: 6.758 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.428e-05/0.1867, allocations: 23.91 kB / 0.6403 GB, free: 6.734 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0008231/0.1875, allocations: 0.5458 MB / 0.6408 GB, free: 6.188 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1875, allocations: 0 / 0.6408 GB, free: 6.188 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.757e-06/0.1875, allocations: 7.938 kB / 0.6408 GB, free: 6.18 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.269e-06/0.1875, allocations: 0 / 0.6408 GB, free: 6.18 MB / 0.6042 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.0005589/0.1881, allocations: 302 kB / 0.6411 GB, free: 5.855 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.1881, allocations: 12.03 kB / 0.6411 GB, free: 5.844 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002156/0.1883, allocations: 28.8 kB / 0.6411 GB, free: 5.816 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001112/0.1885, allocations: 105.8 kB / 0.6412 GB, free: 5.688 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.1885, allocations: 384 / 0.6412 GB, free: 5.688 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.728e-05/0.1885, allocations: 12.38 kB / 0.6413 GB, free: 5.676 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002863/0.1888, allocations: 131.3 kB / 0.6414 GB, free: 5.523 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.1888, allocations: 3.938 kB / 0.6414 GB, free: 5.52 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.1888, allocations: 0 / 0.6414 GB, free: 5.52 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/0.1888, allocations: 4 kB / 0.6414 GB, free: 5.516 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.943e-05/0.1889, allocations: 23.92 kB / 0.6414 GB, free: 5.492 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001783/0.1891, allocations: 113.2 kB / 0.6415 GB, free: 5.352 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001163/0.1892, allocations: 46.56 kB / 0.6416 GB, free: 5.297 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.663e-05/0.1892, allocations: 16.84 kB / 0.6416 GB, free: 5.277 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0111/0.2003, allocations: 2.848 MB / 0.6444 GB, free: 2.426 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.378e-05/0.2004, allocations: 34.56 kB / 0.6444 GB, free: 2.383 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.643e-06/0.2004, allocations: 0 / 0.6444 GB, free: 2.383 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.04291/0.2433, allocations: 14.94 MB / 0.659 GB, free: 3.316 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.506e-05/0.2434, allocations: 59.41 kB / 0.659 GB, free: 3.246 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.2435, allocations: 89.86 kB / 0.6591 GB, free: 3.148 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.797e-05/0.2435, allocations: 25.7 kB / 0.6592 GB, free: 3.117 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.657e-05/0.2435, allocations: 88.14 kB / 0.6592 GB, free: 3.027 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.981e-05/0.2436, allocations: 39.77 kB / 0.6593 GB, free: 2.988 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.986e-05/0.2437, allocations: 33.7 kB / 0.6593 GB, free: 2.949 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001924/0.2439, allocations: 318.8 kB / 0.6596 GB, free: 2.629 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.149e-05/0.2439, allocations: 19.98 kB / 0.6596 GB, free: 2.609 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.156e-05/0.244, allocations: 30.8 kB / 0.6597 GB, free: 2.582 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001345/0.2441, allocations: 56.86 kB / 0.6597 GB, free: 2.523 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.2441, allocations: 0 / 0.6597 GB, free: 2.523 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002802/0.2444, allocations: 121.5 kB / 0.6598 GB, free: 2.398 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.342e-05/0.2444, allocations: 4 kB / 0.6598 GB, free: 2.395 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.627e-06/0.2444, allocations: 4 kB / 0.6598 GB, free: 2.391 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.893e-05/0.2444, allocations: 0 / 0.6598 GB, free: 2.391 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001344/0.2446, allocations: 35.92 kB / 0.6599 GB, free: 2.355 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.635e-06/0.2446, allocations: 0 / 0.6599 GB, free: 2.355 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.872e-05/0.2446, allocations: 3.938 kB / 0.6599 GB, free: 2.352 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.493e-05/0.2446, allocations: 8 kB / 0.6599 GB, free: 2.344 MB / 0.6198 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 0.0001124/0.2447, allocations: 113.8 kB / 0.66 GB, free: 2.223 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.086e-05/0.2448, allocations: 19.81 kB / 0.66 GB, free: 2.203 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003055/0.2451, allocations: 129.4 kB / 0.6601 GB, free: 2.07 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.2451, allocations: 0 / 0.6601 GB, free: 2.07 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/0.2451, allocations: 4 kB / 0.6601 GB, free: 2.066 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.2451, allocations: 3.984 kB / 0.6601 GB, free: 2.062 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000165/0.2453, allocations: 113.3 kB / 0.6603 GB, free: 1.922 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.2453, allocations: 0 / 0.6603 GB, free: 1.922 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001334/0.2454, allocations: 31.98 kB / 0.6603 GB, free: 1.891 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.2454, allocations: 0 / 0.6603 GB, free: 1.891 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.538e-05/0.2455, allocations: 7.938 kB / 0.6603 GB, free: 1.883 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.2455, allocations: 0 / 0.6603 GB, free: 1.883 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2455, allocations: 0 / 0.6603 GB, free: 1.883 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003531/0.2458, allocations: 172 kB / 0.6605 GB, free: 1.699 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.143e-05/0.2459, allocations: 8.031 kB / 0.6605 GB, free: 1.691 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.65e-05/0.2459, allocations: 11.94 kB / 0.6605 GB, free: 1.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001395/0.246, allocations: 11.98 kB / 0.6605 GB, free: 1.668 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.547e-05/0.2461, allocations: 7.984 kB / 0.6605 GB, free: 1.66 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.143e-05/0.2461, allocations: 4 kB / 0.6605 GB, free: 1.656 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.405e-05/0.2461, allocations: 79.28 kB / 0.6606 GB, free: 1.578 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.2461, allocations: 0 / 0.6606 GB, free: 1.578 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001886/0.248, allocations: 0.5739 MB / 0.6611 GB, free: 1.004 MB / 0.6198 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.002993/0.251, allocations: 390.6 kB / 0.6615 GB, free: 0.6094 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002037/0.2512, allocations: 63.91 kB / 0.6616 GB, free: 0.5469 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.2512, allocations: 4 kB / 0.6616 GB, free: 0.543 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.454e-05/0.2513, allocations: 23.94 kB / 0.6616 GB, free: 0.5195 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002607/0.2515, allocations: 27.34 kB / 0.6616 GB, free: 0.4961 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006119/0.2521, allocations: 287.5 kB / 0.6619 GB, free: 196 kB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.069e-05/0.2522, allocations: 67.34 kB / 0.662 GB, free: 108 kB / 0.6198 GB Notification: Performance of simCode: alias equations: time 9.646e-05/0.2523, allocations: 28.59 kB / 0.662 GB, free: 80 kB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.06e-05/0.2524, allocations: 12.5 kB / 0.662 GB, free: 68 kB / 0.6198 GB Notification: Performance of SimCode: time 5.21e-07/0.2524, allocations: 0 / 0.662 GB, free: 68 kB / 0.6198 GB Notification: Performance of Templates: time 0.258/0.5103, allocations: 24.78 MB / 0.6862 GB, free: 185.6 MB / 0.6355 GB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.115051767905243]