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.001038/0.001038, allocations: 106.8 kB / 16.37 MB, free: 6.477 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.001048/0.001048, allocations: 193.8 kB / 17.31 MB, free: 5.824 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.313/1.313, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7911/0.7911, allocations: 135.1 MB / 426.3 MB, free: 4.152 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 59.91 kB / 0.5067 GB, free: 7.695 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.356/0.3573, allocations: 80.91 MB / 0.5858 GB, free: 25.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamProperties): time 0.143/0.5004, allocations: 136.1 MB / 0.7187 GB, free: 1.961 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02463/0.525, allocations: 22.32 MB / 0.7405 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001999/0.5253, allocations: 0 / 0.7405 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003306/0.5256, allocations: 47.69 kB / 0.7405 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003251/0.526, allocations: 103.3 kB / 0.7406 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.01657/0.5426, allocations: 6.674 MB / 0.7472 GB, free: 4.77 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004589/0.543, allocations: 251.9 kB / 0.7474 GB, free: 4.523 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.947e-05/0.5431, allocations: 9.562 kB / 0.7474 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003176/0.5434, allocations: 139.4 kB / 0.7475 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001553/0.5436, allocations: 87.66 kB / 0.7476 GB, free: 4.285 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.178e-05/0.5436, allocations: 8 kB / 0.7476 GB, free: 4.277 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3508/0.8944, allocations: 10.96 MB / 0.7583 GB, free: 7.465 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001443/0.8946, allocations: 38.59 kB / 0.7584 GB, free: 7.465 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002136/0.8948, allocations: 85.58 kB / 0.7585 GB, free: 7.465 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01766/0.9125, allocations: 6.148 MB / 0.7645 GB, free: 7.363 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.9125, allocations: 2.719 kB / 0.7645 GB, free: 7.363 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.406e-06/0.9125, allocations: 0 / 0.7645 GB, free: 7.363 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.475e-05/0.9126, allocations: 5.391 kB / 0.7645 GB, free: 7.363 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.004341/0.9169, allocations: 1.186 MB / 0.7656 GB, free: 6.613 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.9169, allocations: 12.36 kB / 0.7656 GB, free: 6.613 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001188/0.9181, allocations: 86.8 kB / 0.7657 GB, free: 6.605 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003051/0.9185, allocations: 225.1 kB / 0.7659 GB, free: 6.402 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.928e-05/0.9185, allocations: 12.38 kB / 0.766 GB, free: 6.398 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.984e-05/0.9185, allocations: 22.06 kB / 0.766 GB, free: 6.395 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001113/0.9197, allocations: 450.5 kB / 0.7664 GB, free: 6.332 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.9197, allocations: 0.5 kB / 0.7664 GB, free: 6.332 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.302e-05/0.9197, allocations: 10.28 kB / 0.7664 GB, free: 6.332 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.242e-05/0.9197, allocations: 8.156 kB / 0.7664 GB, free: 6.332 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001444/0.9212, allocations: 0.5938 MB / 0.767 GB, free: 6.332 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001067/0.9223, allocations: 0.8821 MB / 0.7679 GB, free: 5.672 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007949/0.9231, allocations: 247.5 kB / 0.7681 GB, free: 5.648 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001253/0.9232, allocations: 78.39 kB / 0.7682 GB, free: 5.641 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07943/1.003, allocations: 35.43 MB / 0.8028 GB, free: 4.062 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.977e-05/1.003, allocations: 37.31 kB / 0.8028 GB, free: 4.023 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=25): time 1.683e-06/1.003, allocations: 0 / 0.8028 GB, free: 4.023 MB / 0.5919 GB Notification: Performance of matching and sorting (n=25): time 0.001611/1.004, allocations: 425.8 kB / 0.8032 GB, free: 3.891 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.241e-05/1.004, allocations: 53.75 kB / 0.8033 GB, free: 3.828 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/1.004, allocations: 144.9 kB / 0.8034 GB, free: 3.715 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.486e-05/1.005, allocations: 29.08 kB / 0.8034 GB, free: 3.684 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 6.296e-05/1.005, allocations: 110.4 kB / 0.8035 GB, free: 3.586 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.688e-05/1.005, allocations: 85.98 kB / 0.8036 GB, free: 3.523 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/1.005, allocations: 79.56 kB / 0.8037 GB, free: 3.492 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.887e-05/1.005, allocations: 330.2 kB / 0.804 GB, free: 3.172 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001643/1.005, allocations: 79.08 kB / 0.8041 GB, free: 3.16 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001821/1.005, allocations: 128.9 kB / 0.8042 GB, free: 3.094 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003414/1.006, allocations: 223.9 kB / 0.8044 GB, free: 3.023 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/1.006, allocations: 0 / 0.8044 GB, free: 3.023 MB / 0.5919 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006152/1.006, allocations: 302 kB / 0.8047 GB, free: 2.945 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/1.006, allocations: 8.953 kB / 0.8047 GB, free: 2.941 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-06/1.006, allocations: 0 / 0.8047 GB, free: 2.941 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/1.006, allocations: 5.219 kB / 0.8047 GB, free: 2.941 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002774/1.007, allocations: 83.44 kB / 0.8048 GB, free: 2.926 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/1.007, allocations: 3.766 kB / 0.8048 GB, free: 2.926 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001399/1.007, allocations: 18.44 kB / 0.8048 GB, free: 2.914 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.896e-05/1.007, allocations: 27.3 kB / 0.8048 GB, free: 2.906 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.0001278/1.007, allocations: 129.6 kB / 0.805 GB, free: 2.789 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001691/1.007, allocations: 20.7 kB / 0.805 GB, free: 2.777 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001898/1.009, allocations: 2.339 MB / 0.8073 GB, free: 2.398 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.481e-05/1.009, allocations: 14.89 kB / 0.8073 GB, free: 2.395 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/1.009, allocations: 4.859 kB / 0.8073 GB, free: 2.391 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/1.009, allocations: 0 / 0.8073 GB, free: 2.391 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002477/1.012, allocations: 3.432 MB / 0.8106 GB, free: 1.492 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/1.012, allocations: 0 / 0.8106 GB, free: 1.492 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002459/1.012, allocations: 57.67 kB / 0.8107 GB, free: 1.477 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/1.012, allocations: 0 / 0.8107 GB, free: 1.477 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.045e-05/1.012, allocations: 9.766 kB / 0.8107 GB, free: 1.473 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/1.012, allocations: 6.328 kB / 0.8107 GB, free: 1.469 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/1.012, allocations: 0 / 0.8107 GB, free: 1.469 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000625/1.012, allocations: 0.5459 MB / 0.8113 GB, free: 1.273 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001118/1.013, allocations: 137.4 kB / 0.8114 GB, free: 1.145 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.203e-05/1.013, allocations: 6.938 kB / 0.8114 GB, free: 1.145 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002076/1.013, allocations: 14.8 kB / 0.8114 GB, free: 1.137 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.392e-05/1.013, allocations: 19.8 kB / 0.8114 GB, free: 1.133 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.634e-05/1.013, allocations: 17.58 kB / 0.8114 GB, free: 1.129 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 7.431e-05/1.013, allocations: 105.8 kB / 0.8115 GB, free: 1.051 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/1.013, allocations: 0 / 0.8115 GB, free: 1.051 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.005119/1.018, allocations: 1.625 MB / 0.8131 GB, free: 420 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.006956/1.025, allocations: 1.892 MB / 0.815 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005928/1.026, allocations: 329.8 kB / 0.8153 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/1.026, allocations: 4 kB / 0.8153 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002715/1.026, allocations: 236.6 kB / 0.8155 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000517/1.027, allocations: 69.94 kB / 0.8156 GB, free: 14.3 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009675/1.027, allocations: 0.6216 MB / 0.8162 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002997/1.028, allocations: 0.7661 MB / 0.8169 GB, free: 12.97 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0005008/1.028, allocations: 404.8 kB / 0.8173 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001293/1.028, allocations: 50.41 kB / 0.8174 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of SimCode: time 5.21e-07/1.028, allocations: 0 / 0.8174 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of Templates: time 0.07128/1.1, allocations: 57 MB / 0.873 GB, free: 3.641 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 cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.SteamProperties.pipe 2>&1)