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.00114/0.00114, allocations: 106.4 kB / 16.41 MB, free: 6.031 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.001178/0.001178, allocations: 191.6 kB / 17.34 MB, free: 5.633 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.286/1.286, 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.7949/0.7949, allocations: 135.1 MB / 426.3 MB, free: 4.082 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001398, allocations: 70.08 kB / 0.5863 GB, free: 21.62 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1478/0.1492, allocations: 80.92 MB / 0.6653 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamProperties): time 0.4638/0.6131, allocations: 136.1 MB / 0.7983 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02258/0.6357, allocations: 22.32 MB / 0.8201 GB, free: 7.312 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001792/0.6359, allocations: 0 / 0.8201 GB, free: 7.312 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0002916/0.6362, allocations: 55.16 kB / 0.8201 GB, free: 7.266 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0003428/0.6366, allocations: 86.5 kB / 0.8202 GB, free: 7.195 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.01895/0.6556, allocations: 6.688 MB / 0.8267 GB, free: 2.672 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0004724/0.6561, allocations: 253.4 kB / 0.827 GB, free: 2.531 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 5.897e-05/0.6561, allocations: 16.84 kB / 0.827 GB, free: 2.523 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003875/0.6565, allocations: 142.7 kB / 0.8271 GB, free: 2.445 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001737/0.6567, allocations: 85.17 kB / 0.8272 GB, free: 2.398 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.858e-05/0.6567, allocations: 7.844 kB / 0.8272 GB, free: 2.398 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02232/0.6791, allocations: 10.97 MB / 0.8379 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001074/0.6792, allocations: 31.58 kB / 0.8379 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001596/0.6794, allocations: 78.39 kB / 0.838 GB, free: 12.56 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01564/0.695, allocations: 6.161 MB / 0.844 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.695, allocations: 0 / 0.844 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.92e-07/0.6951, allocations: 0 / 0.844 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.295e-06/0.6951, allocations: 0 / 0.844 GB, free: 8.113 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.003643/0.6987, allocations: 1.189 MB / 0.8452 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.6988, allocations: 13.05 kB / 0.8452 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001141/0.6999, allocations: 80.67 kB / 0.8453 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003234/0.7003, allocations: 232 kB / 0.8455 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.7003, allocations: 12.38 kB / 0.8455 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.419e-05/0.7003, allocations: 23.94 kB / 0.8455 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001106/0.7014, allocations: 444.7 kB / 0.846 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/0.7015, allocations: 0 / 0.846 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.912e-05/0.7015, allocations: 8 kB / 0.846 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.7015, allocations: 4 kB / 0.846 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001245/0.7028, allocations: 0.597 MB / 0.8466 GB, free: 5.422 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001382/0.7042, allocations: 0.8782 MB / 0.8474 GB, free: 4.457 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008047/0.705, allocations: 254.3 kB / 0.8477 GB, free: 4.199 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001396/0.7051, allocations: 76.83 kB / 0.8477 GB, free: 4.121 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08523/0.7904, allocations: 35.42 MB / 0.8823 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.141e-05/0.7904, allocations: 38.56 kB / 0.8824 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=25): time 1.783e-06/0.7905, allocations: 0 / 0.8824 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of matching and sorting (n=25): time 0.001641/0.7921, allocations: 417.8 kB / 0.8828 GB, free: 13.15 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.375e-05/0.7921, allocations: 55.39 kB / 0.8828 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001437/0.7923, allocations: 143.9 kB / 0.8829 GB, free: 12.94 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.094e-05/0.7924, allocations: 29.7 kB / 0.883 GB, free: 12.9 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 8.354e-05/0.7925, allocations: 108.3 kB / 0.8831 GB, free: 12.79 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 7.231e-05/0.7925, allocations: 90.73 kB / 0.8832 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001183/0.7927, allocations: 73.67 kB / 0.8832 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.947e-05/0.7928, allocations: 326.8 kB / 0.8835 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001744/0.793, allocations: 83.94 kB / 0.8836 GB, free: 12.21 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002288/0.7932, allocations: 133 kB / 0.8838 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000519/0.7937, allocations: 217.8 kB / 0.884 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/0.7937, allocations: 8 kB / 0.884 GB, free: 11.83 MB / 0.6544 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006921/0.7944, allocations: 297.3 kB / 0.8843 GB, free: 11.53 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.7945, allocations: 4 kB / 0.8843 GB, free: 11.53 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.7945, allocations: 0.75 kB / 0.8843 GB, free: 11.53 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.7945, allocations: 4 kB / 0.8843 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002804/0.7948, allocations: 79.88 kB / 0.8843 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.7948, allocations: 4 kB / 0.8843 GB, free: 11.44 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000141/0.795, allocations: 19.75 kB / 0.8844 GB, free: 11.42 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.57e-05/0.795, allocations: 32.08 kB / 0.8844 GB, free: 11.39 MB / 0.6544 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.0001298/0.7951, allocations: 133.8 kB / 0.8845 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001642/0.7953, allocations: 15.81 kB / 0.8845 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002287/0.7976, allocations: 2.343 MB / 0.8868 GB, free: 8.875 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.645e-05/0.7976, allocations: 11.98 kB / 0.8868 GB, free: 8.863 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.7976, allocations: 0 / 0.8868 GB, free: 8.863 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.7977, allocations: 0 / 0.8868 GB, free: 8.863 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003129/0.8008, allocations: 3.432 MB / 0.8902 GB, free: 5.324 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/0.8008, allocations: 0 / 0.8902 GB, free: 5.324 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002455/0.8011, allocations: 59.88 kB / 0.8902 GB, free: 5.266 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.68e-06/0.8011, allocations: 4 kB / 0.8902 GB, free: 5.262 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.632e-05/0.8011, allocations: 11.75 kB / 0.8903 GB, free: 5.254 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.54e-06/0.8011, allocations: 4 kB / 0.8903 GB, free: 5.25 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.8011, allocations: 3.938 kB / 0.8903 GB, free: 5.246 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007569/0.8019, allocations: 0.5466 MB / 0.8908 GB, free: 4.684 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001225/0.802, allocations: 140.5 kB / 0.8909 GB, free: 4.527 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.301e-05/0.8021, allocations: 11.94 kB / 0.8909 GB, free: 4.516 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002057/0.8023, allocations: 11.98 kB / 0.891 GB, free: 4.504 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.47e-05/0.8023, allocations: 19.97 kB / 0.891 GB, free: 4.484 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.919e-05/0.8024, allocations: 12 kB / 0.891 GB, free: 4.473 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 7.949e-05/0.8025, allocations: 108.8 kB / 0.8911 GB, free: 4.367 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.2e-07/0.8025, allocations: 0 / 0.8911 GB, free: 4.367 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.005228/0.8077, allocations: 1.624 MB / 0.8927 GB, free: 2.742 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.01097/0.8187, allocations: 1.887 MB / 0.8945 GB, free: 0.8477 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0009839/0.8197, allocations: 320.5 kB / 0.8948 GB, free: 0.5352 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/0.8197, allocations: 0 / 0.8948 GB, free: 0.5352 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0004477/0.8202, allocations: 249.1 kB / 0.8951 GB, free: 296 kB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007904/0.821, allocations: 72.05 kB / 0.8951 GB, free: 224 kB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001177/0.8222, allocations: 0.6599 MB / 0.8958 GB, free: 15.53 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00033/0.8225, allocations: 0.7699 MB / 0.8965 GB, free: 14.73 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001549/0.8227, allocations: 51.41 kB / 0.8966 GB, free: 14.68 MB / 0.67 GB Notification: Performance of SimCode: time 8.32e-07/0.8227, allocations: 0 / 0.8966 GB, free: 14.68 MB / 0.67 GB Notification: Performance of Templates: time 0.04743/0.8701, allocations: 31.44 MB / 0.9273 GB, free: 15.21 MB / 0.7012 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)