Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001401/0.001401, allocations: 84.73 kB / 19.44 MB, free: 360 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.00212/0.00212, allocations: 157.7 kB / 22.76 MB, free: 1.684 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.554/1.554, allocations: 177.1 MB / 203.1 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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 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 master/package.mo): time 1.279/1.279, allocations: 154.8 MB / 414.3 MB, free: 448 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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 master/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 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.SteamDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck") translateModel(IDEAS.Media.Examples.SteamDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.5198 GB, free: 2.32 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.159e-05/3.316e-05, allocations: 2.312 kB / 0.5198 GB, free: 2.316 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamDerivativeCheck): time 0.002874/0.002908, allocations: 1.279 MB / 0.5211 GB, free: 1.051 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.1826/0.1855, allocations: 120.9 MB / 0.6391 GB, free: 7.855 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.667e-05/0.1855, allocations: 0 / 0.6391 GB, free: 7.855 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.859e-05/0.1856, allocations: 0 / 0.6391 GB, free: 7.855 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.086e-05/0.1856, allocations: 15.92 kB / 0.6392 GB, free: 7.84 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001558/0.1872, allocations: 466.2 kB / 0.6396 GB, free: 7.383 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.532e-05/0.1873, allocations: 43.78 kB / 0.6396 GB, free: 7.34 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.832e-05/0.1873, allocations: 0 / 0.6396 GB, free: 7.34 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.655e-05/0.1874, allocations: 27.95 kB / 0.6397 GB, free: 7.312 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 9.051e-05/0.1875, allocations: 19.97 kB / 0.6397 GB, free: 7.293 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.333e-05/0.1875, allocations: 4 kB / 0.6397 GB, free: 7.289 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001587/0.1891, allocations: 0.7996 MB / 0.6405 GB, free: 6.488 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.756e-05/0.1891, allocations: 3.938 kB / 0.6405 GB, free: 6.484 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.651e-05/0.1892, allocations: 23.97 kB / 0.6405 GB, free: 6.461 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0008493/0.19, allocations: 0.5535 MB / 0.641 GB, free: 5.906 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.19, allocations: 3.938 kB / 0.6411 GB, free: 5.902 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.373e-06/0.19, allocations: 0 / 0.6411 GB, free: 5.902 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.99e-06/0.19, allocations: 0 / 0.6411 GB, free: 5.902 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.0005963/0.1906, allocations: 298.1 kB / 0.6413 GB, free: 5.582 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/0.1907, allocations: 8.031 kB / 0.6413 GB, free: 5.574 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002321/0.1909, allocations: 32.8 kB / 0.6414 GB, free: 5.543 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001143/0.191, allocations: 101.8 kB / 0.6415 GB, free: 5.418 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.66e-05/0.191, allocations: 4.375 kB / 0.6415 GB, free: 5.414 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.882e-05/0.1911, allocations: 12.38 kB / 0.6415 GB, free: 5.402 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002263/0.1913, allocations: 131.3 kB / 0.6416 GB, free: 5.25 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.1913, allocations: 3.938 kB / 0.6416 GB, free: 5.246 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.528e-05/0.1913, allocations: 0 / 0.6416 GB, free: 5.246 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.1913, allocations: 4 kB / 0.6416 GB, free: 5.242 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.873e-05/0.1914, allocations: 19.92 kB / 0.6416 GB, free: 5.223 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001964/0.1916, allocations: 113.2 kB / 0.6417 GB, free: 5.082 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000126/0.1917, allocations: 46.56 kB / 0.6418 GB, free: 5.027 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.351e-05/0.1918, allocations: 20.84 kB / 0.6418 GB, free: 5.004 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01113/0.2029, allocations: 2.852 MB / 0.6446 GB, free: 2.148 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.47e-05/0.203, allocations: 34.73 kB / 0.6446 GB, free: 2.105 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 2.534e-06/0.203, allocations: 0 / 0.6446 GB, free: 2.105 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.04236/0.2453, allocations: 14.94 MB / 0.6592 GB, free: 3.035 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.257e-05/0.2454, allocations: 51.41 kB / 0.6593 GB, free: 2.973 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.856e-05/0.2455, allocations: 101.9 kB / 0.6594 GB, free: 2.863 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.458e-05/0.2455, allocations: 25.7 kB / 0.6594 GB, free: 2.832 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.291e-05/0.2456, allocations: 80.14 kB / 0.6595 GB, free: 2.75 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.072e-05/0.2456, allocations: 43.64 kB / 0.6595 GB, free: 2.707 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.344e-05/0.2457, allocations: 33.7 kB / 0.6595 GB, free: 2.668 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001779/0.2459, allocations: 318.8 kB / 0.6598 GB, free: 2.348 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.783e-05/0.2459, allocations: 19.98 kB / 0.6599 GB, free: 2.328 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.685e-05/0.246, allocations: 27.98 kB / 0.6599 GB, free: 2.301 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001252/0.2461, allocations: 56.8 kB / 0.6599 GB, free: 2.242 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.2461, allocations: 4.125 kB / 0.6599 GB, free: 2.238 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002457/0.2463, allocations: 125.5 kB / 0.6601 GB, free: 2.109 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.2464, allocations: 4 kB / 0.6601 GB, free: 2.105 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.2464, allocations: 0 / 0.6601 GB, free: 2.105 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.127e-05/0.2464, allocations: 0 / 0.6601 GB, free: 2.105 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001265/0.2465, allocations: 31.92 kB / 0.6601 GB, free: 2.074 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.2465, allocations: 0 / 0.6601 GB, free: 2.074 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.954e-05/0.2466, allocations: 4 kB / 0.6601 GB, free: 2.07 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.393e-05/0.2466, allocations: 8 kB / 0.6601 GB, free: 2.062 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.0001044/0.2467, allocations: 109.8 kB / 0.6602 GB, free: 1.945 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.014e-05/0.2468, allocations: 23.81 kB / 0.6602 GB, free: 1.922 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002904/0.247, allocations: 132.4 kB / 0.6604 GB, free: 1.789 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.247, allocations: 0 / 0.6604 GB, free: 1.789 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.78e-06/0.2471, allocations: 0 / 0.6604 GB, free: 1.789 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.2471, allocations: 3.984 kB / 0.6604 GB, free: 1.785 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001528/0.2472, allocations: 113.3 kB / 0.6605 GB, free: 1.645 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.2472, allocations: 3.938 kB / 0.6605 GB, free: 1.641 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001392/0.2474, allocations: 27.98 kB / 0.6605 GB, free: 1.613 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.2474, allocations: 4 kB / 0.6605 GB, free: 1.609 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.536e-05/0.2474, allocations: 3.938 kB / 0.6605 GB, free: 1.605 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.2474, allocations: 4 kB / 0.6605 GB, free: 1.602 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.2474, allocations: 0 / 0.6605 GB, free: 1.602 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003345/0.2477, allocations: 163.3 kB / 0.6607 GB, free: 1.426 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.909e-05/0.2478, allocations: 8.031 kB / 0.6607 GB, free: 1.418 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.164e-05/0.2478, allocations: 7.938 kB / 0.6607 GB, free: 1.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001407/0.2479, allocations: 11.98 kB / 0.6607 GB, free: 1.398 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.742e-05/0.2479, allocations: 15.98 kB / 0.6607 GB, free: 1.383 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.339e-05/0.248, allocations: 4 kB / 0.6607 GB, free: 1.379 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.338e-05/0.248, allocations: 75.28 kB / 0.6608 GB, free: 1.305 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.248, allocations: 0 / 0.6608 GB, free: 1.305 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002062/0.2501, allocations: 0.5738 MB / 0.6614 GB, free: 0.7305 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.003095/0.2532, allocations: 390.8 kB / 0.6617 GB, free: 344 kB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002413/0.2534, allocations: 63.91 kB / 0.6618 GB, free: 280 kB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2534, allocations: 0 / 0.6618 GB, free: 280 kB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.651e-05/0.2535, allocations: 35.92 kB / 0.6618 GB, free: 244 kB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002983/0.2538, allocations: 28.61 kB / 0.6618 GB, free: 216 kB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006576/0.2544, allocations: 283.5 kB / 0.6621 GB, free: 15.91 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.529e-05/0.2545, allocations: 75.34 kB / 0.6622 GB, free: 15.82 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 9.117e-05/0.2546, allocations: 28.53 kB / 0.6622 GB, free: 15.79 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.237e-05/0.2546, allocations: 16.5 kB / 0.6622 GB, free: 15.77 MB / 0.6355 GB Notification: Performance of SimCode: time 6.11e-07/0.2546, allocations: 0 / 0.6622 GB, free: 15.77 MB / 0.6355 GB Notification: Performance of Templates: time 0.306/0.5607, allocations: 24.79 MB / 0.6864 GB, free: 185.5 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.sim & ./IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.329517033998854]