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.0007966/0.0007966, allocations: 76.5 kB / 19.93 MB, free: 4.621 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.000768/0.000768, allocations: 177.9 kB / 23.21 MB, free: 1.34 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.8718/0.8718, allocations: 177.1 MB / 203.5 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] 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-531:190: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-531:198: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 0.7014/0.7014, allocations: 154.5 MB / 414.5 MB, free: 0.8359 MB / 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 179] 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 1.874e-06/1.874e-06, allocations: 0 / 0.6193 GB, free: 13.22 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.885e-05/3.073e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.22 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamProperties): time 0.3878/0.3878, allocations: 119.6 MB / 0.7361 GB, free: 26.73 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01908/0.4069, allocations: 20.22 MB / 0.7559 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002071/0.4071, allocations: 5.594 kB / 0.7559 GB, free: 14.2 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0003209/0.4074, allocations: 42.36 kB / 0.7559 GB, free: 14.18 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0003162/0.4077, allocations: 106.8 kB / 0.756 GB, free: 14.11 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.01921/0.427, allocations: 7.018 MB / 0.7629 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0004234/0.4274, allocations: 253.5 kB / 0.7631 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 6.971e-05/0.4274, allocations: 11.5 kB / 0.7631 GB, free: 11.31 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003553/0.4278, allocations: 186 kB / 0.7633 GB, free: 11.24 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001609/0.428, allocations: 78.84 kB / 0.7634 GB, free: 11.22 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.781e-05/0.428, allocations: 9.156 kB / 0.7634 GB, free: 11.22 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02035/0.4483, allocations: 11.13 MB / 0.7742 GB, free: 8.598 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001354/0.4485, allocations: 45.53 kB / 0.7743 GB, free: 8.562 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001594/0.4486, allocations: 61.48 kB / 0.7743 GB, free: 8.539 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.02005/0.4687, allocations: 8.362 MB / 0.7825 GB, free: 2.746 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.4687, allocations: 0 / 0.7825 GB, free: 2.746 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.205e-06/0.4687, allocations: 4 kB / 0.7825 GB, free: 2.742 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.4687, allocations: 0 / 0.7825 GB, free: 2.742 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.003934/0.4726, allocations: 1.159 MB / 0.7836 GB, free: 1.922 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.4727, allocations: 13.7 kB / 0.7837 GB, free: 1.918 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005877/0.4733, allocations: 83.11 kB / 0.7837 GB, free: 1.887 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000251/0.4735, allocations: 170.6 kB / 0.7839 GB, free: 1.707 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.4735, allocations: 16.25 kB / 0.7839 GB, free: 1.703 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.33e-05/0.4736, allocations: 13.34 kB / 0.7839 GB, free: 1.699 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006944/0.4742, allocations: 0.6807 MB / 0.7846 GB, free: 1.152 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.4743, allocations: 3.984 kB / 0.7846 GB, free: 1.148 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.199e-05/0.4743, allocations: 6.75 kB / 0.7846 GB, free: 1.145 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.4743, allocations: 5.594 kB / 0.7846 GB, free: 1.145 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006416/0.4749, allocations: 0.6087 MB / 0.7852 GB, free: 0.8555 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006408/0.4756, allocations: 0.6887 MB / 0.7859 GB, free: 240 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004465/0.476, allocations: 229.7 kB / 0.7861 GB, free: 112 kB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.015e-05/0.4761, allocations: 67.17 kB / 0.7862 GB, free: 76 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04366/0.5198, allocations: 23.36 MB / 0.809 GB, free: 0.8516 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.164e-05/0.5198, allocations: 35.22 kB / 0.809 GB, free: 0.8086 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=25): time 1.813e-06/0.5198, allocations: 2.25 kB / 0.809 GB, free: 0.8086 MB / 0.6511 GB Notification: Performance of matching and sorting (n=25): time 0.001025/0.5208, allocations: 429.3 kB / 0.8094 GB, free: 396 kB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.244e-05/0.5208, allocations: 55.41 kB / 0.8095 GB, free: 328 kB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.052e-05/0.5209, allocations: 137.4 kB / 0.8096 GB, free: 184 kB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.346e-05/0.521, allocations: 25.7 kB / 0.8096 GB, free: 152 kB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 5.804e-05/0.521, allocations: 112.6 kB / 0.8097 GB, free: 36 kB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 6.13e-05/0.5211, allocations: 91.23 kB / 0.8098 GB, free: 15.94 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.662e-05/0.5212, allocations: 73.67 kB / 0.8099 GB, free: 15.86 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 8.258e-05/0.5212, allocations: 322.8 kB / 0.8102 GB, free: 15.54 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001194/0.5214, allocations: 83.94 kB / 0.8103 GB, free: 15.46 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001548/0.5215, allocations: 129.1 kB / 0.8104 GB, free: 15.31 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002804/0.5218, allocations: 217 kB / 0.8106 GB, free: 15.08 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.5218, allocations: 0 / 0.8106 GB, free: 15.08 MB / 0.6667 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004621/0.5223, allocations: 302.1 kB / 0.8109 GB, free: 14.78 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.5223, allocations: 4 kB / 0.8109 GB, free: 14.78 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.5223, allocations: 4 kB / 0.8109 GB, free: 14.77 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.5223, allocations: 4.156 kB / 0.8109 GB, free: 14.77 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001668/0.5225, allocations: 87.81 kB / 0.811 GB, free: 14.68 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.5225, allocations: 0 / 0.811 GB, free: 14.68 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.042e-05/0.5225, allocations: 19.89 kB / 0.811 GB, free: 14.66 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.66e-05/0.5226, allocations: 23.97 kB / 0.811 GB, free: 14.64 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.233e-05/0.5227, allocations: 131.4 kB / 0.8112 GB, free: 14.5 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.434e-05/0.5228, allocations: 19.84 kB / 0.8112 GB, free: 14.48 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001591/0.5243, allocations: 2.496 MB / 0.8136 GB, free: 11.98 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.141e-05/0.5244, allocations: 11.98 kB / 0.8136 GB, free: 11.97 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.5244, allocations: 4 kB / 0.8136 GB, free: 11.96 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.5244, allocations: 0 / 0.8136 GB, free: 11.96 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002402/0.5268, allocations: 3.534 MB / 0.8171 GB, free: 8.352 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/0.5268, allocations: 0 / 0.8171 GB, free: 8.352 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001294/0.5269, allocations: 59.94 kB / 0.8171 GB, free: 8.293 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.5269, allocations: 1 kB / 0.8171 GB, free: 8.293 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.459e-05/0.5269, allocations: 8 kB / 0.8171 GB, free: 8.285 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.5269, allocations: 0 / 0.8171 GB, free: 8.285 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.5269, allocations: 4 kB / 0.8171 GB, free: 8.281 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004837/0.5274, allocations: 0.5588 MB / 0.8177 GB, free: 7.711 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 6.875e-05/0.5275, allocations: 67.58 kB / 0.8178 GB, free: 7.645 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.924e-05/0.5275, allocations: 8 kB / 0.8178 GB, free: 7.637 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.848e-05/0.5276, allocations: 19.36 kB / 0.8178 GB, free: 7.621 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.833e-05/0.5276, allocations: 19.97 kB / 0.8178 GB, free: 7.602 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.825e-05/0.5276, allocations: 11.98 kB / 0.8178 GB, free: 7.59 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 4.181e-05/0.5277, allocations: 99.27 kB / 0.8179 GB, free: 7.492 MB / 0.6667 GB Notification: Performance of sort global known variables: time 5e-08/0.5277, allocations: 0 / 0.8179 GB, free: 7.492 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.004642/0.5323, allocations: 1.707 MB / 0.8196 GB, free: 5.781 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.005385/0.5377, allocations: 2.205 MB / 0.8217 GB, free: 3.57 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0004643/0.5382, allocations: 326.3 kB / 0.822 GB, free: 3.254 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.5382, allocations: 320 / 0.822 GB, free: 3.254 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0004395/0.5386, allocations: 200.5 kB / 0.8222 GB, free: 3.059 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003429/0.539, allocations: 49.62 kB / 0.8223 GB, free: 3.012 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009355/0.5399, allocations: 0.6436 MB / 0.8229 GB, free: 2.332 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001191/0.54, allocations: 160.7 kB / 0.8231 GB, free: 2.148 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001117/0.5401, allocations: 48.47 kB / 0.8231 GB, free: 2.102 MB / 0.6667 GB Notification: Performance of SimCode: time 1.032e-06/0.5401, allocations: 0 / 0.8231 GB, free: 2.102 MB / 0.6667 GB Notification: Performance of Templates: time 0.03945/0.5796, allocations: 33.14 MB / 0.8555 GB, free: 0.9375 MB / 0.698 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: 8.3169483281672] Failed to read output from testmodel.py, exit status != 0: 0.5862651281058788 0.594159023 0.123696466 Calling exit ...