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.00142/0.00142, allocations: 106.7 kB / 16.41 MB, free: 6.492 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.001546/0.001546, allocations: 191 kB / 17.34 MB, free: 5.766 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.366/1.366, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7892/0.7892, allocations: 132.2 MB / 423.4 MB, free: 6.551 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 61.12 kB / 0.582 GB, free: 23.83 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1515/0.1528, allocations: 80.21 MB / 0.6603 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamProperties): time 0.5256/0.6785, allocations: 136.1 MB / 0.7933 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02321/0.7017, allocations: 22.32 MB / 0.8151 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002339/0.702, allocations: 1.312 kB / 0.8151 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0003069/0.7023, allocations: 47.23 kB / 0.8151 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0003625/0.7027, allocations: 97.7 kB / 0.8152 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.02158/0.7243, allocations: 6.679 MB / 0.8218 GB, free: 6.469 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0004829/0.7248, allocations: 247.1 kB / 0.822 GB, free: 6.344 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 6.491e-05/0.7249, allocations: 16.92 kB / 0.822 GB, free: 6.336 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003279/0.7252, allocations: 139.6 kB / 0.8221 GB, free: 6.273 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001678/0.7254, allocations: 89.2 kB / 0.8222 GB, free: 6.23 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.641e-05/0.7255, allocations: 7.844 kB / 0.8222 GB, free: 6.23 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02351/0.749, allocations: 10.96 MB / 0.8329 GB, free: 0.5586 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001222/0.7491, allocations: 39.77 kB / 0.833 GB, free: 0.5312 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001638/0.7493, allocations: 89.36 kB / 0.8331 GB, free: 496 kB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01705/0.7664, allocations: 6.148 MB / 0.8391 GB, free: 12.85 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.7664, allocations: 2.531 kB / 0.8391 GB, free: 12.85 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.545e-06/0.7664, allocations: 0 / 0.8391 GB, free: 12.85 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.546e-05/0.7665, allocations: 0 / 0.8391 GB, free: 12.85 MB / 0.6075 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.004002/0.7705, allocations: 1.19 MB / 0.8402 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.7705, allocations: 7.969 kB / 0.8402 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001192/0.7717, allocations: 85.25 kB / 0.8403 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003542/0.7721, allocations: 230.9 kB / 0.8405 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.913e-05/0.7721, allocations: 20.31 kB / 0.8406 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.964e-05/0.7722, allocations: 21.22 kB / 0.8406 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001162/0.7733, allocations: 450 kB / 0.841 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.7734, allocations: 0 / 0.841 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.881e-05/0.7734, allocations: 8 kB / 0.841 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.7734, allocations: 4 kB / 0.841 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001242/0.7747, allocations: 0.601 MB / 0.8416 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001155/0.7758, allocations: 0.8732 MB / 0.8425 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008209/0.7767, allocations: 255.2 kB / 0.8427 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001247/0.7768, allocations: 76.77 kB / 0.8428 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08966/0.8665, allocations: 35.41 MB / 0.8774 GB, free: 2.82 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.738e-05/0.8665, allocations: 42.19 kB / 0.8774 GB, free: 2.773 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=25): time 1.983e-06/0.8665, allocations: 0 / 0.8774 GB, free: 2.773 MB / 0.6387 GB Notification: Performance of matching and sorting (n=25): time 0.001757/0.8683, allocations: 421.3 kB / 0.8778 GB, free: 2.355 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.917e-05/0.8684, allocations: 55.41 kB / 0.8778 GB, free: 2.289 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001278/0.8685, allocations: 143.5 kB / 0.878 GB, free: 2.141 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.457e-05/0.8685, allocations: 33.64 kB / 0.878 GB, free: 2.102 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 6.49e-05/0.8686, allocations: 104.4 kB / 0.8781 GB, free: 1.996 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 6.857e-05/0.8687, allocations: 89.41 kB / 0.8782 GB, free: 1.91 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001245/0.8688, allocations: 77.66 kB / 0.8783 GB, free: 1.828 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.8689, allocations: 326.8 kB / 0.8786 GB, free: 1.5 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001773/0.8691, allocations: 79.95 kB / 0.8787 GB, free: 1.422 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002284/0.8694, allocations: 133.6 kB / 0.8788 GB, free: 1.273 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004262/0.8698, allocations: 225 kB / 0.879 GB, free: 1.035 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.8698, allocations: 0 / 0.879 GB, free: 1.035 MB / 0.6387 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007116/0.8705, allocations: 306 kB / 0.8793 GB, free: 0.7305 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.8706, allocations: 4 kB / 0.8793 GB, free: 0.7266 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.8706, allocations: 0 / 0.8793 GB, free: 0.7266 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.8706, allocations: 4 kB / 0.8793 GB, free: 0.7227 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002943/0.8709, allocations: 79.88 kB / 0.8794 GB, free: 0.6445 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.17e-05/0.8709, allocations: 4 kB / 0.8794 GB, free: 0.6406 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000154/0.8711, allocations: 20 kB / 0.8794 GB, free: 0.6211 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.066e-05/0.8711, allocations: 27.92 kB / 0.8794 GB, free: 0.5938 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.000128/0.8713, allocations: 129.8 kB / 0.8796 GB, free: 468 kB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001851/0.8715, allocations: 23.78 kB / 0.8796 GB, free: 444 kB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002402/0.8739, allocations: 2.338 MB / 0.8819 GB, free: 14.08 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-05/0.8739, allocations: 15.97 kB / 0.8819 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.8739, allocations: 0 / 0.8819 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.8739, allocations: 0 / 0.8819 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003231/0.8772, allocations: 3.436 MB / 0.8852 GB, free: 10.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.8772, allocations: 0 / 0.8852 GB, free: 10.52 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002691/0.8775, allocations: 51.95 kB / 0.8853 GB, free: 10.47 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.8775, allocations: 0 / 0.8853 GB, free: 10.47 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.177e-05/0.8775, allocations: 15.92 kB / 0.8853 GB, free: 10.46 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.1e-06/0.8775, allocations: 4 kB / 0.8853 GB, free: 10.45 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.8775, allocations: 0 / 0.8853 GB, free: 10.45 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007846/0.8783, allocations: 0.547 MB / 0.8858 GB, free: 9.887 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001396/0.8785, allocations: 140.5 kB / 0.886 GB, free: 9.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.692e-05/0.8785, allocations: 11.94 kB / 0.886 GB, free: 9.719 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002217/0.8787, allocations: 15.8 kB / 0.886 GB, free: 9.707 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.761e-05/0.8788, allocations: 15.98 kB / 0.886 GB, free: 9.691 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-05/0.8788, allocations: 15.98 kB / 0.886 GB, free: 9.676 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 7.774e-05/0.8789, allocations: 105.1 kB / 0.8861 GB, free: 9.574 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.3e-07/0.8789, allocations: 0 / 0.8861 GB, free: 9.574 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.004451/0.8834, allocations: 1.628 MB / 0.8877 GB, free: 7.945 MB / 0.6544 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.008553/0.8919, allocations: 1.892 MB / 0.8896 GB, free: 6.188 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0007118/0.8927, allocations: 320.6 kB / 0.8899 GB, free: 5.875 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.152e-06/0.8927, allocations: 2.109 kB / 0.8899 GB, free: 5.875 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003341/0.893, allocations: 248.4 kB / 0.8901 GB, free: 5.633 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006094/0.8937, allocations: 71.39 kB / 0.8902 GB, free: 5.566 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001062/0.8947, allocations: 0.6586 MB / 0.8908 GB, free: 4.879 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002989/0.8951, allocations: 0.77 MB / 0.8916 GB, free: 4.082 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001634/0.8952, allocations: 47.41 kB / 0.8916 GB, free: 4.035 MB / 0.6544 GB Notification: Performance of SimCode: time 5.81e-07/0.8952, allocations: 0 / 0.8916 GB, free: 4.035 MB / 0.6544 GB Notification: Performance of Templates: time 0.04641/0.9417, allocations: 31.39 MB / 0.9223 GB, free: 4.617 MB / 0.6856 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)