Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001372/0.001372, allocations: 88.72 kB / 19.44 MB, free: 356 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.001614/0.001614, allocations: 157.7 kB / 22.75 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.498/1.498, 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.274/1.274, allocations: 154.8 MB / 414.4 MB, free: 460 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.SteamProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.SteamProperties") translateModel(IDEAS.Media.Examples.SteamProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.SteamProperties") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.194e-06/2.194e-06, allocations: 0.6562 kB / 0.5198 GB, free: 2.312 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.789e-05/4.008e-05, allocations: 9.922 kB / 0.5199 GB, free: 2.305 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamProperties): time 0.2236/0.2237, allocations: 119.6 MB / 0.6367 GB, free: 10.41 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.03465/0.2583, allocations: 20.24 MB / 0.6565 GB, free: 6.098 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002148/0.2585, allocations: 0 / 0.6565 GB, free: 6.098 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0004221/0.259, allocations: 55.56 kB / 0.6565 GB, free: 6.043 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004429/0.2594, allocations: 91.41 kB / 0.6566 GB, free: 5.953 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.02302/0.2824, allocations: 6.991 MB / 0.6634 GB, free: 14.94 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0005726/0.283, allocations: 255.8 kB / 0.6637 GB, free: 14.69 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 6.24e-05/0.2831, allocations: 13.8 kB / 0.6637 GB, free: 14.67 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004652/0.2835, allocations: 183.3 kB / 0.6639 GB, free: 14.49 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001906/0.2837, allocations: 79.77 kB / 0.6639 GB, free: 14.41 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.226e-05/0.2837, allocations: 8 kB / 0.6639 GB, free: 14.41 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02683/0.3106, allocations: 11.14 MB / 0.6748 GB, free: 3.258 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001536/0.3107, allocations: 35.88 kB / 0.6748 GB, free: 3.223 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001816/0.3109, allocations: 63.84 kB / 0.6749 GB, free: 3.16 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.4222/0.7331, allocations: 8.369 MB / 0.6831 GB, free: 57.66 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.7331, allocations: 2.594 kB / 0.6831 GB, free: 57.66 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.132e-06/0.7331, allocations: 0 / 0.6831 GB, free: 57.66 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.88e-06/0.7331, allocations: 0 / 0.6831 GB, free: 57.66 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.005056/0.7382, allocations: 1.168 MB / 0.6842 GB, free: 56.96 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.7382, allocations: 11.25 kB / 0.6842 GB, free: 56.96 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0011/0.7393, allocations: 146.1 kB / 0.6844 GB, free: 56.92 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002991/0.7396, allocations: 175.2 kB / 0.6845 GB, free: 56.78 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/0.7396, allocations: 12.75 kB / 0.6846 GB, free: 56.78 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.293e-05/0.7397, allocations: 20.72 kB / 0.6846 GB, free: 56.78 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001136/0.7408, allocations: 0.6682 MB / 0.6852 GB, free: 56.47 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.7408, allocations: 6.75 kB / 0.6852 GB, free: 56.46 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.525e-05/0.7408, allocations: 6.156 kB / 0.6852 GB, free: 56.46 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.952e-06/0.7408, allocations: 2.906 kB / 0.6852 GB, free: 56.46 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001103/0.7419, allocations: 0.6074 MB / 0.6858 GB, free: 56.46 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008977/0.7428, allocations: 0.6883 MB / 0.6865 GB, free: 56.01 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007542/0.7436, allocations: 236.5 kB / 0.6867 GB, free: 55.98 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001021/0.7437, allocations: 66.77 kB / 0.6868 GB, free: 55.97 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07935/0.823, allocations: 23.34 MB / 0.7096 GB, free: 54.37 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.239e-05/0.8231, allocations: 37.53 kB / 0.7096 GB, free: 54.33 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=25): time 1.783e-06/0.8231, allocations: 0 / 0.7096 GB, free: 54.33 MB / 0.6355 GB Notification: Performance of matching and sorting (n=25): time 0.00189/0.825, allocations: 461.6 kB / 0.7101 GB, free: 54.26 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.409e-05/0.825, allocations: 55.23 kB / 0.7101 GB, free: 54.2 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/0.8251, allocations: 125.8 kB / 0.7102 GB, free: 54.09 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.351e-05/0.8251, allocations: 31.2 kB / 0.7103 GB, free: 54.06 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.05e-05/0.8252, allocations: 115.8 kB / 0.7104 GB, free: 53.96 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.301e-05/0.8253, allocations: 87.31 kB / 0.7105 GB, free: 53.9 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001164/0.8254, allocations: 81.52 kB / 0.7105 GB, free: 53.89 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.862e-05/0.8254, allocations: 328 kB / 0.7109 GB, free: 53.57 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001557/0.8256, allocations: 78.17 kB / 0.7109 GB, free: 53.57 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002023/0.8258, allocations: 127.3 kB / 0.711 GB, free: 53.52 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003894/0.8262, allocations: 223.8 kB / 0.7113 GB, free: 53.47 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.8262, allocations: 0 / 0.7113 GB, free: 53.47 MB / 0.6355 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007314/0.8269, allocations: 339.3 kB / 0.7116 GB, free: 53.41 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.8269, allocations: 5.344 kB / 0.7116 GB, free: 53.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.677e-06/0.8269, allocations: 2.188 kB / 0.7116 GB, free: 53.41 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.483e-05/0.827, allocations: 3.531 kB / 0.7116 GB, free: 53.41 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003138/0.8273, allocations: 82.83 kB / 0.7117 GB, free: 53.41 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.8273, allocations: 3.469 kB / 0.7117 GB, free: 53.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001615/0.8275, allocations: 18.38 kB / 0.7117 GB, free: 53.39 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.502e-05/0.8275, allocations: 30.47 kB / 0.7117 GB, free: 53.39 MB / 0.6355 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 0.0001168/0.8276, allocations: 124.9 kB / 0.7118 GB, free: 53.28 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002138/0.8278, allocations: 55.92 kB / 0.7119 GB, free: 53.25 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002193/0.83, allocations: 2.482 MB / 0.7143 GB, free: 53.13 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.624e-05/0.83, allocations: 12.25 kB / 0.7143 GB, free: 53.13 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.83, allocations: 0 / 0.7143 GB, free: 53.13 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/0.8301, allocations: 0 / 0.7143 GB, free: 53.13 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003009/0.8331, allocations: 3.543 MB / 0.7178 GB, free: 52.65 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/0.8331, allocations: 2.219 kB / 0.7178 GB, free: 52.65 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002721/0.8333, allocations: 54.66 kB / 0.7178 GB, free: 52.65 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.203e-06/0.8333, allocations: 3.25 kB / 0.7179 GB, free: 52.65 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.348e-05/0.8334, allocations: 9.469 kB / 0.7179 GB, free: 52.65 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.8334, allocations: 5.203 kB / 0.7179 GB, free: 52.64 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.8334, allocations: 0.75 kB / 0.7179 GB, free: 52.64 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007575/0.8341, allocations: 0.5844 MB / 0.7184 GB, free: 52.47 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001072/0.8342, allocations: 62.2 kB / 0.7185 GB, free: 52.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.168e-05/0.8343, allocations: 6.25 kB / 0.7185 GB, free: 52.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002129/0.8345, allocations: 11.66 kB / 0.7185 GB, free: 52.45 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.427e-05/0.8345, allocations: 20.59 kB / 0.7185 GB, free: 52.45 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.165e-05/0.8346, allocations: 18.16 kB / 0.7185 GB, free: 52.45 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.492e-05/0.8346, allocations: 97.59 kB / 0.7186 GB, free: 52.37 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.8346, allocations: 0 / 0.7186 GB, free: 52.37 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.005824/0.8404, allocations: 1.724 MB / 0.7203 GB, free: 52.14 MB / 0.6355 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.01006/0.8505, allocations: 2.208 MB / 0.7225 GB, free: 51.73 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0007787/0.8513, allocations: 316.3 kB / 0.7228 GB, free: 51.73 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/0.8513, allocations: 1.203 kB / 0.7228 GB, free: 51.73 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002616/0.8515, allocations: 193.7 kB / 0.723 GB, free: 51.73 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006969/0.8522, allocations: 93.94 kB / 0.7231 GB, free: 51.71 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009442/0.8532, allocations: 0.6231 MB / 0.7237 GB, free: 51.46 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001043/0.8533, allocations: 158.4 kB / 0.7238 GB, free: 51.38 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0004612/0.8538, allocations: 399.9 kB / 0.7242 GB, free: 51.36 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001448/0.8539, allocations: 48.36 kB / 0.7242 GB, free: 51.35 MB / 0.6355 GB Notification: Performance of SimCode: time 1.152e-06/0.8539, allocations: 0 / 0.7242 GB, free: 51.35 MB / 0.6355 GB Notification: Performance of Templates: time 0.06512/0.919, allocations: 60.41 MB / 0.7832 GB, free: 19.13 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Media.Examples.SteamProperties.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Media.Examples.SteamProperties.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.SteamProperties.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.SteamProperties.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.SteamProperties.sim & ./IDEAS_dev_IDEAS.Media.Examples.SteamProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.SteamProperties.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.263520665001124]