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.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Media.Examples.SteamProperties") translateModel(IDEAS.Media.Examples.SteamProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.0008784/0.0008784, allocations: 97.33 kB / 15.36 MB, free: 0.7344 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.005818/0.005818, allocations: 170.1 kB / 16.27 MB, free: 6.66 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.376/1.376, allocations: 223.2 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7866/0.7866, allocations: 132.4 MB / 423.8 MB, free: 1.938 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003519/0.000352, allocations: 8.656 kB / 0.504 GB, free: 3.91 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4852/0.4856, allocations: 81.58 MB / 0.5837 GB, free: 4.043 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamProperties): time 0.1594/0.6451, allocations: 132.3 MB / 0.7128 GB, free: 11.67 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.03026/0.6754, allocations: 24.26 MB / 0.7365 GB, free: 3.348 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001845/0.6756, allocations: 0 / 0.7365 GB, free: 3.348 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000307/0.6759, allocations: 43.73 kB / 0.7366 GB, free: 3.305 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.000301/0.6762, allocations: 75.5 kB / 0.7367 GB, free: 3.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.01611/0.6924, allocations: 5.289 MB / 0.7418 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004386/0.6928, allocations: 315.8 kB / 0.7421 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 6.421e-05/0.6929, allocations: 13.55 kB / 0.7421 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003289/0.6932, allocations: 131.5 kB / 0.7423 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000174/0.6934, allocations: 99.59 kB / 0.7424 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.575e-05/0.6934, allocations: 8 kB / 0.7424 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02044/0.7139, allocations: 10.85 MB / 0.753 GB, free: 2.547 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001196/0.714, allocations: 39.84 kB / 0.753 GB, free: 2.508 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001539/0.7142, allocations: 101.4 kB / 0.7531 GB, free: 2.402 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01578/0.73, allocations: 6.163 MB / 0.7591 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.7301, allocations: 0 / 0.7591 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.046e-06/0.7301, allocations: 0 / 0.7591 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.7301, allocations: 0 / 0.7591 GB, free: 12.23 MB / 0.5919 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.003576/0.7337, allocations: 1.143 MB / 0.7602 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/0.7337, allocations: 12.03 kB / 0.7602 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001081/0.7348, allocations: 88.67 kB / 0.7603 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002431/0.7351, allocations: 228 kB / 0.7605 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.772e-05/0.7351, allocations: 16.12 kB / 0.7605 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.599e-05/0.7351, allocations: 12 kB / 0.7606 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001094/0.7362, allocations: 452.5 kB / 0.761 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.7362, allocations: 0 / 0.761 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.97e-05/0.7363, allocations: 23.92 kB / 0.761 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.7363, allocations: 4 kB / 0.761 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001152/0.7374, allocations: 0.5969 MB / 0.7616 GB, free: 9.562 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000999/0.7385, allocations: 0.8822 MB / 0.7625 GB, free: 8.594 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007923/0.7393, allocations: 248.4 kB / 0.7627 GB, free: 8.344 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001167/0.7394, allocations: 72.83 kB / 0.7628 GB, free: 8.27 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08716/0.8265, allocations: 35.34 MB / 0.7973 GB, free: 1.832 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001224/0.8267, allocations: 34.56 kB / 0.7973 GB, free: 1.789 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=25): time 2.675e-06/0.8267, allocations: 0 / 0.7973 GB, free: 1.789 MB / 0.6231 GB Notification: Performance of matching and sorting (n=25): time 0.001872/0.8286, allocations: 418.9 kB / 0.7977 GB, free: 1.375 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.602e-05/0.8287, allocations: 55.41 kB / 0.7978 GB, free: 1.309 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001482/0.8288, allocations: 139.8 kB / 0.7979 GB, free: 1.164 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.41e-05/0.8289, allocations: 33.7 kB / 0.7979 GB, free: 1.125 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 8.697e-05/0.829, allocations: 112.3 kB / 0.798 GB, free: 1.012 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 8.524e-05/0.8291, allocations: 90.73 kB / 0.7981 GB, free: 0.9219 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.386e-05/0.8292, allocations: 29.7 kB / 0.7981 GB, free: 0.8867 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001519/0.8293, allocations: 326.8 kB / 0.7985 GB, free: 0.5586 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000175/0.8295, allocations: 79.89 kB / 0.7985 GB, free: 492 kB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002369/0.8298, allocations: 138.6 kB / 0.7987 GB, free: 336 kB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004174/0.8302, allocations: 224.3 kB / 0.7989 GB, free: 96 kB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.8302, allocations: 0 / 0.7989 GB, free: 96 kB / 0.6231 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007359/0.8309, allocations: 301.2 kB / 0.7992 GB, free: 15.79 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.831, allocations: 4 kB / 0.7992 GB, free: 15.79 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.831, allocations: 4 kB / 0.7992 GB, free: 15.79 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/0.831, allocations: 0 / 0.7992 GB, free: 15.79 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003197/0.8313, allocations: 83.88 kB / 0.7993 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/0.8313, allocations: 4 kB / 0.7993 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001736/0.8315, allocations: 23.78 kB / 0.7993 GB, free: 15.68 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.485e-05/0.8316, allocations: 19.98 kB / 0.7993 GB, free: 15.66 MB / 0.6387 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.0001573/0.8317, allocations: 133.9 kB / 0.7994 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001691/0.8319, allocations: 19.81 kB / 0.7995 GB, free: 15.5 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002555/0.8345, allocations: 2.35 MB / 0.8017 GB, free: 13.14 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.748e-05/0.8345, allocations: 7.984 kB / 0.8018 GB, free: 13.13 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.8345, allocations: 0 / 0.8018 GB, free: 13.13 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.063e-05/0.8345, allocations: 7.938 kB / 0.8018 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003599/0.8381, allocations: 3.423 MB / 0.8051 GB, free: 9.594 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.8382, allocations: 0 / 0.8051 GB, free: 9.594 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002707/0.8384, allocations: 59.94 kB / 0.8052 GB, free: 9.535 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.232e-06/0.8385, allocations: 0 / 0.8052 GB, free: 9.535 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.775e-05/0.8385, allocations: 15.94 kB / 0.8052 GB, free: 9.52 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.8385, allocations: 0 / 0.8052 GB, free: 9.52 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.8385, allocations: 0 / 0.8052 GB, free: 9.52 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008321/0.8393, allocations: 0.5457 MB / 0.8057 GB, free: 8.957 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001446/0.8395, allocations: 140.5 kB / 0.8058 GB, free: 8.801 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.714e-05/0.8396, allocations: 7.938 kB / 0.8058 GB, free: 8.793 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002332/0.8398, allocations: 23.98 kB / 0.8059 GB, free: 8.77 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.282e-05/0.8398, allocations: 15.97 kB / 0.8059 GB, free: 8.754 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.83e-05/0.8399, allocations: 12 kB / 0.8059 GB, free: 8.742 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 7.737e-05/0.84, allocations: 107.2 kB / 0.806 GB, free: 8.637 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.1e-07/0.84, allocations: 0 / 0.806 GB, free: 8.637 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.004813/0.8448, allocations: 1.624 MB / 0.8076 GB, free: 7.012 MB / 0.6387 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.009015/0.8538, allocations: 1.892 MB / 0.8094 GB, free: 5.109 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.000765/0.8546, allocations: 322.2 kB / 0.8097 GB, free: 4.797 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.582e-06/0.8546, allocations: 8.312 kB / 0.8098 GB, free: 4.789 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0003918/0.855, allocations: 241.4 kB / 0.81 GB, free: 4.555 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006553/0.8557, allocations: 70.41 kB / 0.81 GB, free: 4.492 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001278/0.857, allocations: 0.797 MB / 0.8108 GB, free: 3.668 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004431/0.8575, allocations: 0.7622 MB / 0.8116 GB, free: 2.879 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0005794/0.858, allocations: 413 kB / 0.812 GB, free: 2.473 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001506/0.8582, allocations: 47.41 kB / 0.812 GB, free: 2.426 MB / 0.6387 GB Notification: Performance of SimCode: time 2.41e-07/0.8582, allocations: 4 kB / 0.812 GB, free: 2.422 MB / 0.6387 GB Notification: Performance of Templates: time 0.3686/1.227, allocations: 56.99 MB / 0.8677 GB, free: 178.3 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Media.Examples.SteamProperties.makefile (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)