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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Media.Examples.SteamProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.SteamProperties") translateModel(IDEAS.Media.Examples.SteamProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.SteamProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001413/0.001413, allocations: 110.4 kB / 15.99 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001414/0.001414, allocations: 191.5 kB / 16.91 MB, free: 6.195 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8948/0.8948, allocations: 135.2 MB / 425.9 MB, free: 4.285 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001904/0.001904, allocations: 59.91 kB / 0.5055 GB, free: 8.707 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3815/0.3834, allocations: 80.92 MB / 0.5845 GB, free: 25.04 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamProperties): time 0.1543/0.5377, allocations: 134.2 MB / 0.7156 GB, free: 4.07 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02974/0.5675, allocations: 22.59 MB / 0.7377 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001723/0.5677, allocations: 0 / 0.7377 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003091/0.5681, allocations: 39.81 kB / 0.7377 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003114/0.5684, allocations: 87.42 kB / 0.7378 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.01702/0.5854, allocations: 5.904 MB / 0.7436 GB, free: 7.41 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004226/0.5859, allocations: 255.9 kB / 0.7438 GB, free: 7.16 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.294e-05/0.5859, allocations: 13.56 kB / 0.7438 GB, free: 7.141 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000313/0.5863, allocations: 139.5 kB / 0.744 GB, free: 7.004 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001601/0.5864, allocations: 95.59 kB / 0.7441 GB, free: 6.91 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.369e-05/0.5865, allocations: 8 kB / 0.7441 GB, free: 6.902 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.356/0.9425, allocations: 10.8 MB / 0.7546 GB, free: 9.172 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000115/0.9427, allocations: 36.27 kB / 0.7546 GB, free: 9.172 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001488/0.9428, allocations: 80.45 kB / 0.7547 GB, free: 9.172 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.009445/0.9523, allocations: 4.14 MB / 0.7588 GB, free: 9.113 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.865e-06/0.9523, allocations: 1.062 kB / 0.7588 GB, free: 9.113 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.573e-06/0.9523, allocations: 2.906 kB / 0.7588 GB, free: 9.113 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.366e-06/0.9523, allocations: 1.25 kB / 0.7588 GB, free: 9.113 MB / 0.5762 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.006602/0.959, allocations: 1.19 MB / 0.7599 GB, free: 8.363 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.179e-05/0.959, allocations: 11.23 kB / 0.7599 GB, free: 8.363 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001209/0.9602, allocations: 84.59 kB / 0.76 GB, free: 8.355 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002099/0.9605, allocations: 224.1 kB / 0.7602 GB, free: 8.152 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.9605, allocations: 15.53 kB / 0.7603 GB, free: 8.148 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.734e-05/0.9605, allocations: 19.41 kB / 0.7603 GB, free: 8.145 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00108/0.9616, allocations: 457 kB / 0.7607 GB, free: 8.082 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.9616, allocations: 0.8125 kB / 0.7607 GB, free: 8.082 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.557e-05/0.9616, allocations: 7.156 kB / 0.7607 GB, free: 8.082 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.9617, allocations: 3.188 kB / 0.7607 GB, free: 8.082 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001141/0.9628, allocations: 0.5956 MB / 0.7613 GB, free: 8.082 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009992/0.9638, allocations: 0.8895 MB / 0.7622 GB, free: 7.422 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008585/0.9647, allocations: 248 kB / 0.7624 GB, free: 7.398 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001448/0.9648, allocations: 78.42 kB / 0.7625 GB, free: 7.391 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07909/1.044, allocations: 35.04 MB / 0.7967 GB, free: 6.32 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.264e-05/1.044, allocations: 46.53 kB / 0.7967 GB, free: 6.277 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=25): time 1.884e-06/1.044, allocations: 0 / 0.7967 GB, free: 6.277 MB / 0.5919 GB Notification: Performance of matching and sorting (n=25): time 0.001702/1.046, allocations: 423.2 kB / 0.7971 GB, free: 6.23 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.919e-05/1.046, allocations: 51.41 kB / 0.7972 GB, free: 6.168 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001263/1.046, allocations: 141.6 kB / 0.7973 GB, free: 6.07 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.362e-05/1.046, allocations: 31.52 kB / 0.7974 GB, free: 6.039 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 7.122e-05/1.046, allocations: 108.4 kB / 0.7975 GB, free: 5.941 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.587e-05/1.046, allocations: 87.89 kB / 0.7975 GB, free: 5.887 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001168/1.046, allocations: 86.56 kB / 0.7976 GB, free: 5.867 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001621/1.046, allocations: 328.4 kB / 0.7979 GB, free: 5.551 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001541/1.047, allocations: 75.47 kB / 0.798 GB, free: 5.551 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001956/1.047, allocations: 128.6 kB / 0.7981 GB, free: 5.504 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003538/1.047, allocations: 223.2 kB / 0.7984 GB, free: 5.449 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/1.047, allocations: 0 / 0.7984 GB, free: 5.449 MB / 0.5919 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006317/1.048, allocations: 300.6 kB / 0.7986 GB, free: 5.406 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/1.048, allocations: 10.19 kB / 0.7986 GB, free: 5.402 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/1.048, allocations: 1.125 kB / 0.7987 GB, free: 5.402 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/1.048, allocations: 5.516 kB / 0.7987 GB, free: 5.402 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002984/1.048, allocations: 83.81 kB / 0.7987 GB, free: 5.402 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/1.048, allocations: 2.391 kB / 0.7987 GB, free: 5.402 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001826/1.048, allocations: 22.19 kB / 0.7988 GB, free: 5.391 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.234e-05/1.048, allocations: 29.25 kB / 0.7988 GB, free: 5.391 MB / 0.5919 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.0001506/1.049, allocations: 129.3 kB / 0.7989 GB, free: 5.273 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001627/1.049, allocations: 17.75 kB / 0.7989 GB, free: 5.266 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002034/1.051, allocations: 2.348 MB / 0.8012 GB, free: 5.137 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.42e-05/1.051, allocations: 13.56 kB / 0.8012 GB, free: 5.137 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/1.051, allocations: 0 / 0.8012 GB, free: 5.137 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-06/1.051, allocations: 3.844 kB / 0.8012 GB, free: 5.137 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002623/1.053, allocations: 3.425 MB / 0.8046 GB, free: 4.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.592e-06/1.053, allocations: 4.188 kB / 0.8046 GB, free: 4.59 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000266/1.054, allocations: 56.83 kB / 0.8046 GB, free: 4.59 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/1.054, allocations: 3.25 kB / 0.8046 GB, free: 4.59 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.946e-05/1.054, allocations: 10.06 kB / 0.8047 GB, free: 4.586 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/1.054, allocations: 3.938 kB / 0.8047 GB, free: 4.582 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/1.054, allocations: 0 / 0.8047 GB, free: 4.582 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006816/1.054, allocations: 0.5466 MB / 0.8052 GB, free: 4.422 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000129/1.055, allocations: 137.3 kB / 0.8053 GB, free: 4.309 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.565e-05/1.055, allocations: 6.672 kB / 0.8053 GB, free: 4.305 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002313/1.055, allocations: 19.47 kB / 0.8053 GB, free: 4.301 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.046e-05/1.055, allocations: 17.83 kB / 0.8054 GB, free: 4.297 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.578e-05/1.055, allocations: 14.75 kB / 0.8054 GB, free: 4.297 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 8.973e-05/1.055, allocations: 110.6 kB / 0.8055 GB, free: 4.223 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9.22e-07/1.055, allocations: 0 / 0.8055 GB, free: 4.223 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.006796/1.062, allocations: 1.626 MB / 0.8071 GB, free: 4.016 MB / 0.5919 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.01214/1.074, allocations: 1.893 MB / 0.8089 GB, free: 3.629 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0007991/1.075, allocations: 338.3 kB / 0.8092 GB, free: 3.613 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/1.075, allocations: 0 / 0.8092 GB, free: 3.613 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002615/1.075, allocations: 246.9 kB / 0.8095 GB, free: 3.598 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000578/1.076, allocations: 65.81 kB / 0.8095 GB, free: 3.578 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009656/1.077, allocations: 0.7863 MB / 0.8103 GB, free: 3.133 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003735/1.077, allocations: 0.7729 MB / 0.8111 GB, free: 2.406 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001392/1.077, allocations: 47.84 kB / 0.8111 GB, free: 2.391 MB / 0.5919 GB Notification: Performance of SimCode: time 1.263e-06/1.077, allocations: 0 / 0.8111 GB, free: 2.391 MB / 0.5919 GB Notification: Performance of Templates: time 0.05213/1.129, allocations: 31.49 MB / 0.8419 GB, free: 3.25 MB / 0.6231 GB make -j1 -f IDEAS_dev_IDEAS.Media.Examples.SteamProperties.makefile (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)