Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.SteamProperties.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.0007583/0.0007583, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0007441/0.0007441, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8436/0.8436, allocations: 177.1 MB / 203.5 MB, free: 5.742 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-531:686: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-531:694: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.6856/0.6856, allocations: 154.6 MB / 414.5 MB, free: 0.7734 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.SteamProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.SteamProperties") translateModel(IDEAS.Media.Examples.SteamProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.SteamProperties") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 0.6193 GB, free: 13.18 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.153e-05/2.306e-05, allocations: 2.781 kB / 0.6193 GB, free: 13.18 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamProperties): time 0.3647/0.3647, allocations: 119.6 MB / 0.7362 GB, free: 26.75 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0167/0.3814, allocations: 20.22 MB / 0.7559 GB, free: 14.24 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001709/0.3816, allocations: 1.062 kB / 0.7559 GB, free: 14.24 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0002871/0.3818, allocations: 46.28 kB / 0.756 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0002776/0.3821, allocations: 101.9 kB / 0.7561 GB, free: 14.15 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.01703/0.3992, allocations: 7.021 MB / 0.7629 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0004143/0.3996, allocations: 260.7 kB / 0.7632 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 4.856e-05/0.3996, allocations: 8.891 kB / 0.7632 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000301/0.3999, allocations: 183.9 kB / 0.7634 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001337/0.4001, allocations: 76.44 kB / 0.7634 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.267e-05/0.4001, allocations: 11.66 kB / 0.7634 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01851/0.4186, allocations: 11.13 MB / 0.7743 GB, free: 8.574 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001165/0.4187, allocations: 37.73 kB / 0.7743 GB, free: 8.547 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001472/0.4189, allocations: 63.23 kB / 0.7744 GB, free: 8.523 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.01578/0.4346, allocations: 8.377 MB / 0.7826 GB, free: 2.715 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.73e-06/0.4346, allocations: 0 / 0.7826 GB, free: 2.715 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.874e-06/0.4346, allocations: 0 / 0.7826 GB, free: 2.715 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.082e-06/0.4346, allocations: 3.125 kB / 0.7826 GB, free: 2.715 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.003422/0.4381, allocations: 1.154 MB / 0.7837 GB, free: 1.898 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.4381, allocations: 8.312 kB / 0.7837 GB, free: 1.898 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005762/0.4387, allocations: 88.77 kB / 0.7838 GB, free: 1.859 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00024/0.4389, allocations: 173.2 kB / 0.784 GB, free: 1.68 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.4389, allocations: 11.38 kB / 0.784 GB, free: 1.676 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.112e-05/0.439, allocations: 23.27 kB / 0.784 GB, free: 1.664 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006823/0.4396, allocations: 0.6667 MB / 0.7847 GB, free: 1.129 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.4396, allocations: 0 / 0.7847 GB, free: 1.129 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.005e-05/0.4397, allocations: 10.91 kB / 0.7847 GB, free: 1.121 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.4397, allocations: 2.875 kB / 0.7847 GB, free: 1.121 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006288/0.4403, allocations: 0.606 MB / 0.7853 GB, free: 0.8359 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005919/0.4409, allocations: 0.6921 MB / 0.7859 GB, free: 216 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004379/0.4413, allocations: 234.5 kB / 0.7862 GB, free: 84 kB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.272e-05/0.4414, allocations: 68.36 kB / 0.7862 GB, free: 48 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04161/0.483, allocations: 23.35 MB / 0.809 GB, free: 0.8555 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.025e-05/0.483, allocations: 42.5 kB / 0.8091 GB, free: 0.8047 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=25): time 1.673e-06/0.483, allocations: 4 kB / 0.8091 GB, free: 0.8008 MB / 0.6511 GB Notification: Performance of matching and sorting (n=25): time 0.001001/0.484, allocations: 417.4 kB / 0.8095 GB, free: 396 kB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.087e-05/0.4841, allocations: 55.41 kB / 0.8095 GB, free: 328 kB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.191e-05/0.4842, allocations: 137.7 kB / 0.8097 GB, free: 180 kB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.279e-05/0.4842, allocations: 29.7 kB / 0.8097 GB, free: 144 kB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 4.965e-05/0.4842, allocations: 108.6 kB / 0.8098 GB, free: 32 kB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.48e-05/0.4843, allocations: 91.41 kB / 0.8099 GB, free: 15.94 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.653e-05/0.4844, allocations: 77.66 kB / 0.8099 GB, free: 15.86 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 7.381e-05/0.4844, allocations: 322.8 kB / 0.8103 GB, free: 15.53 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001166/0.4846, allocations: 83.95 kB / 0.8103 GB, free: 15.45 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001532/0.4847, allocations: 133 kB / 0.8105 GB, free: 15.3 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002948/0.485, allocations: 218.7 kB / 0.8107 GB, free: 15.07 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.485, allocations: 0 / 0.8107 GB, free: 15.07 MB / 0.6667 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004602/0.4855, allocations: 306.3 kB / 0.811 GB, free: 14.77 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.4855, allocations: 4.156 kB / 0.811 GB, free: 14.77 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.4855, allocations: 8 kB / 0.811 GB, free: 14.76 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.4855, allocations: 0 / 0.811 GB, free: 14.76 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001598/0.4857, allocations: 79.94 kB / 0.8111 GB, free: 14.68 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.4857, allocations: 7.922 kB / 0.8111 GB, free: 14.67 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.806e-05/0.4857, allocations: 19.89 kB / 0.8111 GB, free: 14.65 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.664e-05/0.4858, allocations: 23.98 kB / 0.8111 GB, free: 14.63 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (30): * Single equations (assignments): 30 * 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 9.581e-05/0.4859, allocations: 130.7 kB / 0.8112 GB, free: 14.49 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.65e-05/0.486, allocations: 15.91 kB / 0.8112 GB, free: 14.48 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001749/0.4877, allocations: 2.489 MB / 0.8137 GB, free: 11.98 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.195e-05/0.4877, allocations: 15.98 kB / 0.8137 GB, free: 11.96 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.4877, allocations: 0 / 0.8137 GB, free: 11.96 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.593e-06/0.4877, allocations: 3.984 kB / 0.8137 GB, free: 11.96 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002435/0.4902, allocations: 3.538 MB / 0.8171 GB, free: 8.34 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.431e-06/0.4902, allocations: 0 / 0.8171 GB, free: 8.34 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001306/0.4903, allocations: 51.95 kB / 0.8172 GB, free: 8.289 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.4903, allocations: 3.938 kB / 0.8172 GB, free: 8.285 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.644e-05/0.4903, allocations: 11.19 kB / 0.8172 GB, free: 8.277 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.4903, allocations: 0 / 0.8172 GB, free: 8.277 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.4903, allocations: 4 kB / 0.8172 GB, free: 8.273 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004926/0.4908, allocations: 0.5627 MB / 0.8178 GB, free: 7.699 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 7.365e-05/0.4909, allocations: 71.55 kB / 0.8178 GB, free: 7.629 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.065e-05/0.4909, allocations: 4 kB / 0.8178 GB, free: 7.625 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.491, allocations: 15.94 kB / 0.8179 GB, free: 7.609 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.886e-05/0.491, allocations: 23.95 kB / 0.8179 GB, free: 7.586 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.762e-05/0.4911, allocations: 12 kB / 0.8179 GB, free: 7.574 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 4.353e-05/0.4911, allocations: 95.27 kB / 0.818 GB, free: 7.48 MB / 0.6667 GB Notification: Performance of sort global known variables: time 6e-08/0.4911, allocations: 0 / 0.818 GB, free: 7.48 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.004842/0.4959, allocations: 1.711 MB / 0.8196 GB, free: 5.766 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.007423/0.5034, allocations: 2.2 MB / 0.8218 GB, free: 3.555 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0005539/0.5039, allocations: 326.5 kB / 0.8221 GB, free: 3.238 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.5039, allocations: 0 / 0.8221 GB, free: 3.238 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.000178/0.5041, allocations: 192.5 kB / 0.8223 GB, free: 3.051 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000364/0.5045, allocations: 48.81 kB / 0.8223 GB, free: 3.004 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001071/0.5055, allocations: 0.6475 MB / 0.823 GB, free: 2.316 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.758e-05/0.5056, allocations: 160.7 kB / 0.8231 GB, free: 2.133 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001093/0.5057, allocations: 48.47 kB / 0.8232 GB, free: 2.086 MB / 0.6667 GB Notification: Performance of SimCode: time 1.513e-06/0.5057, allocations: 4 kB / 0.8232 GB, free: 2.082 MB / 0.6667 GB Notification: Performance of Templates: time 0.03814/0.5439, allocations: 33.14 MB / 0.8555 GB, free: 0.9258 MB / 0.698 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Media.Examples.SteamProperties.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Media.Examples.SteamProperties.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.SteamProperties.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.SteamProperties.pipe >> ../files/IDEAS_IDEAS.Media.Examples.SteamProperties.sim & ./IDEAS_IDEAS.Media.Examples.SteamProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.SteamProperties.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.405154806561768] Failed to read output from testmodel.py, exit status != 0: 0.5491002425551414 0.557330546 0.12102204800000001 Calling exit ...