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.001122/0.001122, allocations: 104 kB / 16.35 MB, free: 5.824 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.001106/0.001106, allocations: 191.2 kB / 17.29 MB, free: 5.48 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.372/1.372, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8818/0.8818, allocations: 135.1 MB / 426.3 MB, free: 4.137 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.00121, allocations: 63.91 kB / 0.5067 GB, free: 7.684 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3777/0.3789, allocations: 80.91 MB / 0.5857 GB, free: 25.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamProperties): time 0.1429/0.5218, allocations: 136.1 MB / 0.7187 GB, free: 1.969 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02617/0.548, allocations: 22.33 MB / 0.7405 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000161/0.5482, allocations: 0 / 0.7405 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0002586/0.5485, allocations: 51.62 kB / 0.7405 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002805/0.5488, allocations: 87.41 kB / 0.7406 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.01656/0.5654, allocations: 6.683 MB / 0.7472 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005534/0.5659, allocations: 255.9 kB / 0.7474 GB, free: 4.523 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 7.142e-05/0.566, allocations: 9.562 kB / 0.7474 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004174/0.5665, allocations: 135.5 kB / 0.7475 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002181/0.5667, allocations: 95.59 kB / 0.7476 GB, free: 4.281 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.299e-05/0.5667, allocations: 8 kB / 0.7476 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3513/0.918, allocations: 10.96 MB / 0.7583 GB, free: 7.566 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001346/0.9182, allocations: 36.69 kB / 0.7584 GB, free: 7.566 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002105/0.9184, allocations: 84.31 kB / 0.7585 GB, free: 7.566 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01644/0.9349, allocations: 6.159 MB / 0.7645 GB, free: 7.465 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/0.9349, allocations: 0 / 0.7645 GB, free: 7.465 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.134e-06/0.9349, allocations: 1.203 kB / 0.7645 GB, free: 7.465 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.494e-05/0.935, allocations: 1 kB / 0.7645 GB, free: 7.465 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.0049/0.9399, allocations: 1.185 MB / 0.7656 GB, free: 6.715 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.266e-05/0.9399, allocations: 11.8 kB / 0.7656 GB, free: 6.715 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001236/0.9412, allocations: 85.92 kB / 0.7657 GB, free: 6.707 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003032/0.9415, allocations: 226.4 kB / 0.7659 GB, free: 6.504 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.741e-05/0.9415, allocations: 15.69 kB / 0.766 GB, free: 6.5 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.851e-05/0.9416, allocations: 21.06 kB / 0.766 GB, free: 6.496 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001123/0.9427, allocations: 451.4 kB / 0.7664 GB, free: 6.434 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.9427, allocations: 0.5 kB / 0.7664 GB, free: 6.434 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.656e-05/0.9427, allocations: 7.594 kB / 0.7664 GB, free: 6.434 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/0.9428, allocations: 5.344 kB / 0.7664 GB, free: 6.434 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001279/0.944, allocations: 0.5927 MB / 0.767 GB, free: 6.434 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009131/0.945, allocations: 0.8855 MB / 0.7679 GB, free: 5.773 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007919/0.9458, allocations: 247.6 kB / 0.7681 GB, free: 5.75 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001154/0.9459, allocations: 76.44 kB / 0.7682 GB, free: 5.742 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08194/1.028, allocations: 35.43 MB / 0.8028 GB, free: 4.152 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.992e-05/1.028, allocations: 37.06 kB / 0.8028 GB, free: 4.113 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=25): time 2.174e-06/1.028, allocations: 0 / 0.8028 GB, free: 4.113 MB / 0.5919 GB Notification: Performance of matching and sorting (n=25): time 0.001819/1.03, allocations: 418.4 kB / 0.8032 GB, free: 3.98 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.366e-05/1.03, allocations: 54.06 kB / 0.8033 GB, free: 3.918 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001448/1.03, allocations: 143.7 kB / 0.8034 GB, free: 3.809 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.068e-05/1.03, allocations: 35.7 kB / 0.8034 GB, free: 3.777 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 7.215e-05/1.03, allocations: 110.9 kB / 0.8035 GB, free: 3.676 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.6e-05/1.03, allocations: 86.47 kB / 0.8036 GB, free: 3.613 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001224/1.03, allocations: 76.22 kB / 0.8037 GB, free: 3.586 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001231/1.03, allocations: 332.8 kB / 0.804 GB, free: 3.262 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001665/1.031, allocations: 75.86 kB / 0.8041 GB, free: 3.25 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002034/1.031, allocations: 133.4 kB / 0.8042 GB, free: 3.184 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003702/1.031, allocations: 215 kB / 0.8044 GB, free: 3.121 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/1.031, allocations: 4 kB / 0.8044 GB, free: 3.117 MB / 0.5919 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006943/1.032, allocations: 305.3 kB / 0.8047 GB, free: 3.035 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/1.032, allocations: 8 kB / 0.8047 GB, free: 3.035 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/1.032, allocations: 0 / 0.8047 GB, free: 3.035 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.006e-05/1.032, allocations: 1.938 kB / 0.8047 GB, free: 3.035 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002875/1.032, allocations: 82.38 kB / 0.8048 GB, free: 3.02 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.163e-05/1.032, allocations: 6.562 kB / 0.8048 GB, free: 3.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001619/1.032, allocations: 19.5 kB / 0.8048 GB, free: 3.008 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.521e-05/1.033, allocations: 29 kB / 0.8048 GB, free: 2.996 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.0001481/1.033, allocations: 132.3 kB / 0.805 GB, free: 2.879 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001844/1.033, allocations: 16.03 kB / 0.805 GB, free: 2.871 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00204/1.035, allocations: 2.342 MB / 0.8073 GB, free: 2.488 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.511e-05/1.035, allocations: 12.95 kB / 0.8073 GB, free: 2.484 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/1.035, allocations: 4.281 kB / 0.8073 GB, free: 2.484 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/1.035, allocations: 3.984 kB / 0.8073 GB, free: 2.48 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002793/1.038, allocations: 3.428 MB / 0.8106 GB, free: 1.582 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/1.038, allocations: 1.125 kB / 0.8106 GB, free: 1.582 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002553/1.038, allocations: 58.83 kB / 0.8107 GB, free: 1.57 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.259e-06/1.038, allocations: 0 / 0.8107 GB, free: 1.57 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.231e-05/1.038, allocations: 7.5 kB / 0.8107 GB, free: 1.57 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.97e-06/1.038, allocations: 7.781 kB / 0.8107 GB, free: 1.566 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/1.038, allocations: 3.984 kB / 0.8107 GB, free: 1.562 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007395/1.039, allocations: 0.5441 MB / 0.8112 GB, free: 1.367 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001415/1.039, allocations: 144.6 kB / 0.8114 GB, free: 1.234 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.403e-05/1.039, allocations: 3.375 kB / 0.8114 GB, free: 1.234 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002181/1.039, allocations: 17.84 kB / 0.8114 GB, free: 1.227 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.686e-05/1.039, allocations: 18.97 kB / 0.8114 GB, free: 1.219 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.818e-05/1.039, allocations: 10.56 kB / 0.8114 GB, free: 1.219 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 7.942e-05/1.039, allocations: 113.3 kB / 0.8115 GB, free: 1.137 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/1.039, allocations: 1.203 kB / 0.8115 GB, free: 1.137 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.005912/1.045, allocations: 1.619 MB / 0.8131 GB, free: 468 kB / 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.01279/1.058, allocations: 1.89 MB / 0.815 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001021/1.059, allocations: 329.9 kB / 0.8153 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.693e-06/1.059, allocations: 0 / 0.8153 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0004447/1.06, allocations: 243.8 kB / 0.8155 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008004/1.061, allocations: 66.88 kB / 0.8156 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001365/1.062, allocations: 0.6216 MB / 0.8162 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004295/1.062, allocations: 0.7661 MB / 0.8169 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0007838/1.063, allocations: 405 kB / 0.8173 GB, free: 12.65 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001874/1.063, allocations: 46.42 kB / 0.8174 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of SimCode: time 6.61e-07/1.063, allocations: 0 / 0.8174 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of Templates: time 0.08124/1.145, allocations: 57.01 MB / 0.873 GB, free: 3.688 MB / 0.6544 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 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.SteamProperties.pipe 2>&1)