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.0007622/0.0007622, allocations: 115 kB / 19.7 MB, free: 0.5273 MB / 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.0007877/0.0007877, allocations: 203.8 kB / 23 MB, free: 3.109 MB / 13.93 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.8547/0.8547, allocations: 230.6 MB / 256.8 MB, free: 3.48 MB / 202.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.7508/0.7508, allocations: 203.8 MB / 0.5049 GB, free: 0.7148 MB / 410.7 MB " [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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008658/0.0008658, allocations: 67.89 kB / 0.7195 GB, free: 14.47 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4174/0.4183, allocations: 102 MB / 0.8191 GB, free: 25.27 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamProperties): time 0.1235/0.5418, allocations: 139.4 MB / 0.9552 GB, free: 7.387 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0178/0.5596, allocations: 22.88 MB / 0.9776 GB, free: 436 kB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001163/0.5598, allocations: 4 kB / 0.9776 GB, free: 432 kB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0003069/0.5601, allocations: 47.67 kB / 0.9776 GB, free: 384 kB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.000258/0.5603, allocations: 87.44 kB / 0.9777 GB, free: 296 kB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.01156/0.5719, allocations: 6.99 MB / 0.9845 GB, free: 9.328 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0003081/0.5722, allocations: 255.9 kB / 0.9848 GB, free: 9.078 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 4.938e-05/0.5722, allocations: 9.75 kB / 0.9848 GB, free: 9.07 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002655/0.5725, allocations: 147.4 kB / 0.9849 GB, free: 8.926 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001216/0.5726, allocations: 99.59 kB / 0.985 GB, free: 8.828 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.605e-05/0.5726, allocations: 8 kB / 0.985 GB, free: 8.82 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01355/0.5862, allocations: 11.69 MB / 0.9964 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 7.838e-05/0.5863, allocations: 39.89 kB / 0.9965 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 8.398e-05/0.5863, allocations: 83.64 kB / 0.9966 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.008113/0.5945, allocations: 6.501 MB / 1.003 GB, free: 6.477 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.5945, allocations: 0 / 1.003 GB, free: 6.477 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.673e-06/0.5945, allocations: 0 / 1.003 GB, free: 6.477 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.653e-06/0.5945, allocations: 0 / 1.003 GB, free: 6.477 MB / 0.7761 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.001932/0.5964, allocations: 1.171 MB / 1.004 GB, free: 5.27 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.5964, allocations: 21.45 kB / 1.004 GB, free: 5.25 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005297/0.597, allocations: 84.77 kB / 1.004 GB, free: 5.168 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001987/0.5972, allocations: 170.3 kB / 1.004 GB, free: 4.977 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.5972, allocations: 12.12 kB / 1.004 GB, free: 4.965 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.955e-05/0.5972, allocations: 20 kB / 1.004 GB, free: 4.945 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006613/0.5979, allocations: 473.1 kB / 1.005 GB, free: 4.465 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.5979, allocations: 4 kB / 1.005 GB, free: 4.461 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.101e-05/0.5979, allocations: 12 kB / 1.005 GB, free: 4.449 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.022e-06/0.5979, allocations: 4 kB / 1.005 GB, free: 4.445 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006554/0.5986, allocations: 0.6205 MB / 1.005 GB, free: 3.824 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00073/0.5993, allocations: 0.854 MB / 1.006 GB, free: 2.891 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004378/0.5997, allocations: 235.9 kB / 1.006 GB, free: 2.652 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.943e-05/0.5998, allocations: 68.81 kB / 1.007 GB, free: 2.582 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03843/0.6382, allocations: 23.3 MB / 1.029 GB, free: 11.24 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.715e-05/0.6383, allocations: 38.56 kB / 1.029 GB, free: 11.19 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=25): time 1.693e-06/0.6383, allocations: 0 / 1.029 GB, free: 11.19 MB / 0.8073 GB Notification: Performance of matching and sorting (n=25): time 0.000936/0.6392, allocations: 416.5 kB / 1.03 GB, free: 10.78 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.352e-05/0.6392, allocations: 63.34 kB / 1.03 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.989e-05/0.6393, allocations: 139.8 kB / 1.03 GB, free: 10.56 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.297e-05/0.6394, allocations: 33.7 kB / 1.03 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.293e-05/0.6394, allocations: 108.4 kB / 1.03 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.646e-05/0.6395, allocations: 91.2 kB / 1.03 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.393e-05/0.6395, allocations: 77.66 kB / 1.03 GB, free: 10.24 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.619e-05/0.6396, allocations: 330.8 kB / 1.031 GB, free: 9.91 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001156/0.6397, allocations: 79.95 kB / 1.031 GB, free: 9.832 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001565/0.6399, allocations: 134.5 kB / 1.031 GB, free: 9.684 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002776/0.6402, allocations: 225.6 kB / 1.031 GB, free: 9.445 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.6402, allocations: 0 / 1.031 GB, free: 9.445 MB / 0.8073 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004495/0.6406, allocations: 302.1 kB / 1.031 GB, free: 9.145 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.6406, allocations: 8 kB / 1.031 GB, free: 9.137 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.6406, allocations: 0 / 1.031 GB, free: 9.137 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.6407, allocations: 4 kB / 1.031 GB, free: 9.133 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001609/0.6408, allocations: 79.88 kB / 1.031 GB, free: 9.055 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.984e-06/0.6408, allocations: 4 kB / 1.031 GB, free: 9.051 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.695e-05/0.6409, allocations: 27.94 kB / 1.031 GB, free: 9.023 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.718e-05/0.6409, allocations: 23.98 kB / 1.031 GB, free: 9 MB / 0.8073 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.031e-05/0.641, allocations: 130.7 kB / 1.032 GB, free: 8.863 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.341e-05/0.6411, allocations: 23.89 kB / 1.032 GB, free: 8.84 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00159/0.6427, allocations: 2.48 MB / 1.034 GB, free: 6.352 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.285e-05/0.6427, allocations: 15.97 kB / 1.034 GB, free: 6.336 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.441e-06/0.6427, allocations: 4 kB / 1.034 GB, free: 6.332 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.6427, allocations: 3.938 kB / 1.034 GB, free: 6.328 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00214/0.6449, allocations: 3.598 MB / 1.037 GB, free: 2.629 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.6449, allocations: 0 / 1.037 GB, free: 2.629 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001247/0.645, allocations: 59.83 kB / 1.038 GB, free: 2.57 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.645, allocations: 7.938 kB / 1.038 GB, free: 2.562 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.497e-05/0.645, allocations: 15.92 kB / 1.038 GB, free: 2.547 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.645, allocations: 0 / 1.038 GB, free: 2.547 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.645, allocations: 0 / 1.038 GB, free: 2.547 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005287/0.6455, allocations: 0.5584 MB / 1.038 GB, free: 1.973 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 6.539e-05/0.6456, allocations: 63.62 kB / 1.038 GB, free: 1.91 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.274e-05/0.6456, allocations: 11.94 kB / 1.038 GB, free: 1.898 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.559e-05/0.6457, allocations: 11.98 kB / 1.038 GB, free: 1.887 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.857e-05/0.6457, allocations: 19.97 kB / 1.038 GB, free: 1.867 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.651e-05/0.6458, allocations: 12 kB / 1.038 GB, free: 1.855 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 4.882e-05/0.6458, allocations: 109.8 kB / 1.038 GB, free: 1.75 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.6458, allocations: 0 / 1.038 GB, free: 1.75 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.003207/0.649, allocations: 1.719 MB / 1.04 GB, free: 28 kB / 0.8073 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.004039/0.6531, allocations: 1.951 MB / 1.042 GB, free: 14.06 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0003692/0.6534, allocations: 320.4 kB / 1.042 GB, free: 13.75 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.6534, allocations: 0 / 1.042 GB, free: 13.75 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001628/0.6536, allocations: 197.2 kB / 1.042 GB, free: 13.55 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003088/0.6539, allocations: 76.17 kB / 1.042 GB, free: 13.48 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009713/0.6549, allocations: 0.669 MB / 1.043 GB, free: 12.78 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001982/0.6551, allocations: 0.766 MB / 1.044 GB, free: 11.99 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.467e-05/0.6552, allocations: 51.41 kB / 1.044 GB, free: 11.94 MB / 0.823 GB Notification: Performance of SimCode: time 5.31e-07/0.6552, allocations: 0 / 1.044 GB, free: 11.94 MB / 0.823 GB Notification: Performance of Templates: time 0.0294/0.6846, allocations: 32.97 MB / 1.076 GB, free: 10.94 MB / 0.8542 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.238604160957038] Failed to read output from testmodel.py, exit status != 0: 0.6907459020148963 0.698234541 0.102165639 Calling exit ...