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.001847/0.001847, allocations: 89.47 kB / 19.44 MB, free: 344 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.00215/0.00215, allocations: 173.2 kB / 22.76 MB, free: 1.668 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.609/1.609, allocations: 177.1 MB / 203.1 MB, free: 5.594 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.343/1.343, allocations: 154.8 MB / 414.4 MB, free: 464 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 2.335e-06/2.335e-06, allocations: 0 / 0.5198 GB, free: 2.324 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.616e-05/3.849e-05, allocations: 2.312 kB / 0.5198 GB, free: 2.32 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamDerivativeCheck): time 0.003664/0.003703, allocations: 1.278 MB / 0.5211 GB, free: 1.055 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.2134/0.2171, allocations: 133.1 MB / 0.651 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.598e-05/0.2172, allocations: 4 kB / 0.651 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.949e-05/0.2172, allocations: 4 kB / 0.651 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.123e-05/0.2173, allocations: 7.922 kB / 0.651 GB, free: 11.65 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001838/0.2191, allocations: 462.2 kB / 0.6515 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001096/0.2192, allocations: 43.84 kB / 0.6515 GB, free: 11.15 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.55e-05/0.2193, allocations: 3.984 kB / 0.6515 GB, free: 11.15 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.209e-05/0.2193, allocations: 31.91 kB / 0.6516 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.512e-05/0.2194, allocations: 15.97 kB / 0.6516 GB, free: 11.1 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.05e-05/0.2195, allocations: 4 kB / 0.6516 GB, free: 11.1 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001851/0.2213, allocations: 0.7996 MB / 0.6524 GB, free: 10.3 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.252e-05/0.2213, allocations: 7.984 kB / 0.6524 GB, free: 10.29 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.204e-05/0.2214, allocations: 19.92 kB / 0.6524 GB, free: 10.27 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001122/0.2225, allocations: 0.5613 MB / 0.6529 GB, free: 9.707 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.2225, allocations: 0 / 0.6529 GB, free: 9.707 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.243e-06/0.2225, allocations: 0 / 0.6529 GB, free: 9.707 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.061e-06/0.2225, allocations: 0 / 0.6529 GB, free: 9.707 MB / 0.6198 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.0008021/0.2233, allocations: 396.1 kB / 0.6533 GB, free: 9.285 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.2233, allocations: 11.97 kB / 0.6533 GB, free: 9.273 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002598/0.2236, allocations: 28.81 kB / 0.6534 GB, free: 9.246 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001198/0.2237, allocations: 112.6 kB / 0.6535 GB, free: 9.109 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.386e-05/0.2237, allocations: 4.375 kB / 0.6535 GB, free: 9.105 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.316e-05/0.2238, allocations: 12.36 kB / 0.6535 GB, free: 9.094 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002171/0.224, allocations: 131.3 kB / 0.6536 GB, free: 8.941 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.224, allocations: 3.938 kB / 0.6536 GB, free: 8.938 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.224, allocations: 4 kB / 0.6536 GB, free: 8.934 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.81e-06/0.224, allocations: 0 / 0.6536 GB, free: 8.934 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.967e-05/0.2241, allocations: 15.98 kB / 0.6536 GB, free: 8.918 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002024/0.2243, allocations: 124.6 kB / 0.6537 GB, free: 8.762 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001411/0.2244, allocations: 55.05 kB / 0.6538 GB, free: 8.695 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.603e-05/0.2245, allocations: 19.67 kB / 0.6538 GB, free: 8.672 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0118/0.2363, allocations: 2.895 MB / 0.6566 GB, free: 5.773 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.762e-05/0.2363, allocations: 37.39 kB / 0.6567 GB, free: 5.727 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.954e-06/0.2363, allocations: 0 / 0.6567 GB, free: 5.727 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.03927/0.2756, allocations: 8.185 MB / 0.6647 GB, free: 13.41 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.904e-05/0.2757, allocations: 51.41 kB / 0.6647 GB, free: 13.34 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001247/0.2758, allocations: 157.9 kB / 0.6649 GB, free: 13.17 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.056e-05/0.2758, allocations: 29.7 kB / 0.6649 GB, free: 13.14 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.639e-05/0.2759, allocations: 126.9 kB / 0.665 GB, free: 13.01 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.4e-05/0.276, allocations: 47.62 kB / 0.6651 GB, free: 12.96 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.5e-05/0.276, allocations: 35.38 kB / 0.6651 GB, free: 12.92 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002597/0.2763, allocations: 0.4884 MB / 0.6656 GB, free: 12.42 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.299e-05/0.2763, allocations: 16 kB / 0.6656 GB, free: 12.4 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.852e-05/0.2764, allocations: 27.98 kB / 0.6656 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001312/0.2765, allocations: 66.8 kB / 0.6657 GB, free: 12.31 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.2765, allocations: 0 / 0.6657 GB, free: 12.31 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002564/0.2768, allocations: 117.5 kB / 0.6658 GB, free: 12.19 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.227e-05/0.2768, allocations: 8 kB / 0.6658 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.2768, allocations: 0 / 0.6658 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.2768, allocations: 0 / 0.6658 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00012/0.2769, allocations: 27.98 kB / 0.6658 GB, free: 12.15 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.273e-06/0.277, allocations: 0 / 0.6658 GB, free: 12.15 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.891e-05/0.277, allocations: 0 / 0.6658 GB, free: 12.15 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.48e-05/0.277, allocations: 8 kB / 0.6658 GB, free: 12.14 MB / 0.6355 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.0001274/0.2771, allocations: 172.4 kB / 0.666 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.864e-05/0.2772, allocations: 19.83 kB / 0.666 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002849/0.2775, allocations: 121.5 kB / 0.6661 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.2775, allocations: 0 / 0.6661 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.2775, allocations: 0 / 0.6661 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.2775, allocations: 0 / 0.6661 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001588/0.2777, allocations: 128.6 kB / 0.6663 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.2777, allocations: 0 / 0.6663 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001262/0.2778, allocations: 28 kB / 0.6663 GB, free: 11.63 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/0.2778, allocations: 3.984 kB / 0.6663 GB, free: 11.63 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/0.2778, allocations: 7.938 kB / 0.6663 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.2778, allocations: 0 / 0.6663 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2778, allocations: 3.938 kB / 0.6663 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003511/0.2782, allocations: 171.3 kB / 0.6665 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.234e-05/0.2782, allocations: 7.984 kB / 0.6665 GB, free: 11.42 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.197e-05/0.2782, allocations: 11.94 kB / 0.6665 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.2783, allocations: 4 kB / 0.6665 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.61e-05/0.2784, allocations: 15.98 kB / 0.6665 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.495e-05/0.2784, allocations: 8 kB / 0.6665 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.423e-05/0.2785, allocations: 119.2 kB / 0.6666 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.2785, allocations: 0 / 0.6666 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001941/0.2804, allocations: 0.5699 MB / 0.6672 GB, free: 10.7 MB / 0.6355 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.003992/0.2844, allocations: 398.7 kB / 0.6676 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000261/0.2847, allocations: 67.66 kB / 0.6676 GB, free: 10.22 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.2847, allocations: 0 / 0.6676 GB, free: 10.22 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 9.421e-05/0.2848, allocations: 47.61 kB / 0.6677 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002985/0.285, allocations: 28.03 kB / 0.6677 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006488/0.2857, allocations: 285 kB / 0.668 GB, free: 9.84 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.591e-05/0.2858, allocations: 71.34 kB / 0.668 GB, free: 9.75 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 9.253e-05/0.2859, allocations: 28.59 kB / 0.6681 GB, free: 9.723 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.974e-05/0.2859, allocations: 16.5 kB / 0.6681 GB, free: 9.707 MB / 0.6355 GB Notification: Performance of SimCode: time 8.42e-07/0.2859, allocations: 0 / 0.6681 GB, free: 9.707 MB / 0.6355 GB Notification: Performance of Templates: time 0.3045/0.5904, allocations: 26.08 MB / 0.6935 GB, free: 190.4 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 10.434682347928174]