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.002084/0.002084, allocations: 93.47 kB / 19.44 MB, free: 336 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.002087/0.002087, allocations: 169.2 kB / 22.76 MB, free: 1.664 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.656/1.656, allocations: 177.1 MB / 203.1 MB, free: 5.559 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.339/1.339, allocations: 154.6 MB / 414.1 MB, free: 0.6406 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 2.274e-06/2.274e-06, allocations: 0.5469 kB / 0.5196 GB, free: 2.578 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.553e-05/4.78e-05, allocations: 4.938 kB / 0.5196 GB, free: 2.574 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamDerivativeCheck): time 0.003204/0.003252, allocations: 1.265 MB / 0.5208 GB, free: 1.316 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.2347/0.2379, allocations: 133.1 MB / 0.6508 GB, free: 11.91 MB / 0.6199 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.026e-05/0.238, allocations: 4 kB / 0.6508 GB, free: 11.91 MB / 0.6199 GB Notification: Performance of NFTyping.typeComponents: time 1.957e-05/0.238, allocations: 4 kB / 0.6508 GB, free: 11.9 MB / 0.6199 GB Notification: Performance of NFTyping.typeBindings: time 6.267e-05/0.2381, allocations: 7.875 kB / 0.6508 GB, free: 11.89 MB / 0.6199 GB Notification: Performance of NFTyping.typeClassSections: time 0.001568/0.2396, allocations: 470.1 kB / 0.6512 GB, free: 11.43 MB / 0.6199 GB Notification: Performance of NFFlatten.flatten: time 0.0001093/0.2397, allocations: 39.84 kB / 0.6513 GB, free: 11.39 MB / 0.6199 GB Notification: Performance of NFFlatten.resolveConnections: time 3.741e-05/0.2398, allocations: 0 / 0.6513 GB, free: 11.39 MB / 0.6199 GB Notification: Performance of NFEvalConstants.evaluate: time 7.597e-05/0.2399, allocations: 35.97 kB / 0.6513 GB, free: 11.36 MB / 0.6199 GB Notification: Performance of NFSimplifyModel.simplify: time 8.506e-05/0.2399, allocations: 11.97 kB / 0.6513 GB, free: 11.35 MB / 0.6199 GB Notification: Performance of NFPackage.collectConstants: time 1.992e-05/0.24, allocations: 4 kB / 0.6513 GB, free: 11.34 MB / 0.6199 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001554/0.2415, allocations: 0.8035 MB / 0.6521 GB, free: 10.54 MB / 0.6199 GB Notification: Performance of NFScalarize.scalarize: time 1.795e-05/0.2415, allocations: 3.938 kB / 0.6521 GB, free: 10.54 MB / 0.6199 GB Notification: Performance of NFVerifyModel.verify: time 3.666e-05/0.2416, allocations: 15.98 kB / 0.6521 GB, free: 10.52 MB / 0.6199 GB Notification: Performance of NFConvertDAE.convert: time 0.0009795/0.2426, allocations: 0.5652 MB / 0.6527 GB, free: 9.953 MB / 0.6199 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.2426, allocations: 3.938 kB / 0.6527 GB, free: 9.949 MB / 0.6199 GB Notification: Performance of FrontEnd: time 1.443e-06/0.2426, allocations: 0 / 0.6527 GB, free: 9.949 MB / 0.6199 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.2426, allocations: 0 / 0.6527 GB, free: 9.949 MB / 0.6199 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.0006253/0.2432, allocations: 396.1 kB / 0.6531 GB, free: 9.527 MB / 0.6199 GB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.2432, allocations: 8.031 kB / 0.6531 GB, free: 9.52 MB / 0.6199 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000232/0.2435, allocations: 24.81 kB / 0.6531 GB, free: 9.496 MB / 0.6199 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001165/0.2436, allocations: 116.5 kB / 0.6532 GB, free: 9.355 MB / 0.6199 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/0.2436, allocations: 8.375 kB / 0.6532 GB, free: 9.348 MB / 0.6199 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.222e-05/0.2436, allocations: 4.375 kB / 0.6532 GB, free: 9.344 MB / 0.6199 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002076/0.2438, allocations: 135.3 kB / 0.6534 GB, free: 9.188 MB / 0.6199 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.2439, allocations: 3.938 kB / 0.6534 GB, free: 9.184 MB / 0.6199 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.462e-05/0.2439, allocations: 4 kB / 0.6534 GB, free: 9.18 MB / 0.6199 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.2439, allocations: 0 / 0.6534 GB, free: 9.18 MB / 0.6199 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.424e-05/0.2439, allocations: 15.98 kB / 0.6534 GB, free: 9.164 MB / 0.6199 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001986/0.2441, allocations: 120.6 kB / 0.6535 GB, free: 9.012 MB / 0.6199 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001294/0.2443, allocations: 62.98 kB / 0.6536 GB, free: 8.938 MB / 0.6199 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.19e-05/0.2443, allocations: 19.69 kB / 0.6536 GB, free: 8.914 MB / 0.6199 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01155/0.2559, allocations: 2.887 MB / 0.6564 GB, free: 6.023 MB / 0.6199 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.974e-05/0.2559, allocations: 41.39 kB / 0.6564 GB, free: 5.973 MB / 0.6199 GB Notification: Performance of pre-optimization done (n=7): time 2.565e-06/0.2559, allocations: 0 / 0.6564 GB, free: 5.973 MB / 0.6199 GB Notification: Performance of matching and sorting (n=11): time 0.03848/0.2944, allocations: 8.181 MB / 0.6644 GB, free: 13.66 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.618e-05/0.2944, allocations: 51.41 kB / 0.6645 GB, free: 13.59 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001368/0.2946, allocations: 161.9 kB / 0.6646 GB, free: 13.42 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.218e-05/0.2946, allocations: 25.7 kB / 0.6646 GB, free: 13.39 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.796e-05/0.2947, allocations: 126.9 kB / 0.6648 GB, free: 13.26 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.24e-05/0.2947, allocations: 39.66 kB / 0.6648 GB, free: 13.22 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.21e-05/0.2948, allocations: 39.36 kB / 0.6648 GB, free: 13.17 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002479/0.295, allocations: 0.4884 MB / 0.6653 GB, free: 12.67 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.464e-05/0.2951, allocations: 19.98 kB / 0.6653 GB, free: 12.65 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.9e-05/0.2951, allocations: 28.11 kB / 0.6654 GB, free: 12.62 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001338/0.2953, allocations: 70.36 kB / 0.6654 GB, free: 12.55 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.2953, allocations: 0 / 0.6654 GB, free: 12.55 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002488/0.2955, allocations: 117.5 kB / 0.6655 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.2955, allocations: 8 kB / 0.6656 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.2955, allocations: 0 / 0.6656 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.2956, allocations: 0 / 0.6656 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.2957, allocations: 23.98 kB / 0.6656 GB, free: 12.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.796e-06/0.2957, allocations: 3.984 kB / 0.6656 GB, free: 12.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.846e-05/0.2957, allocations: 4 kB / 0.6656 GB, free: 12.39 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.148e-05/0.2957, allocations: 4 kB / 0.6656 GB, free: 12.39 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.0001241/0.2958, allocations: 168.5 kB / 0.6657 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.562e-05/0.2959, allocations: 19.83 kB / 0.6658 GB, free: 12.2 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002799/0.2962, allocations: 127.3 kB / 0.6659 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.2962, allocations: 0 / 0.6659 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.2962, allocations: 0 / 0.6659 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.2962, allocations: 0 / 0.6659 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001515/0.2964, allocations: 132.6 kB / 0.666 GB, free: 11.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.2964, allocations: 7.938 kB / 0.666 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001372/0.2965, allocations: 27.92 kB / 0.666 GB, free: 11.87 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.2965, allocations: 0 / 0.666 GB, free: 11.87 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.037e-05/0.2965, allocations: 11.94 kB / 0.6661 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.2965, allocations: 3.984 kB / 0.6661 GB, free: 11.85 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.2965, allocations: 0 / 0.6661 GB, free: 11.85 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003151/0.2968, allocations: 156.3 kB / 0.6662 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.752e-05/0.2969, allocations: 11.98 kB / 0.6662 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.141e-05/0.2969, allocations: 11.92 kB / 0.6662 GB, free: 11.65 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.297, allocations: 12 kB / 0.6662 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.167e-05/0.297, allocations: 7.984 kB / 0.6663 GB, free: 11.63 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.19e-05/0.2971, allocations: 4 kB / 0.6663 GB, free: 11.63 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001507/0.2972, allocations: 127.1 kB / 0.6664 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.2972, allocations: 0 / 0.6664 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001812/0.299, allocations: 0.5699 MB / 0.6669 GB, free: 10.93 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.002764/0.3018, allocations: 386.7 kB / 0.6673 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002079/0.302, allocations: 79.03 kB / 0.6674 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.302, allocations: 3.938 kB / 0.6674 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.295e-05/0.3021, allocations: 42.73 kB / 0.6674 GB, free: 10.42 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002512/0.3023, allocations: 19.98 kB / 0.6674 GB, free: 10.4 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006125/0.3029, allocations: 285.1 kB / 0.6677 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.482e-05/0.303, allocations: 75.33 kB / 0.6678 GB, free: 10 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 8.346e-05/0.3031, allocations: 28.55 kB / 0.6678 GB, free: 9.973 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.023e-05/0.3031, allocations: 20.48 kB / 0.6678 GB, free: 9.953 MB / 0.6355 GB Notification: Performance of SimCode: time 8.31e-07/0.3031, allocations: 4 kB / 0.6678 GB, free: 9.949 MB / 0.6355 GB Notification: Performance of Templates: time 0.298/0.6011, allocations: 26.07 MB / 0.6933 GB, free: 190.4 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=240 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 10.31612008297816]