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.0009652/0.0009653, allocations: 92.7 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001368/0.001368, allocations: 178.2 kB / 16.92 MB, free: 6.652 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.328/1.328, allocations: 223.3 MB / 241 MB, free: 5.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9346/0.9346, allocations: 135.3 MB / 427.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003117/0.0003117, allocations: 12.88 kB / 0.5082 GB, free: 4.738 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1419/0.1422, allocations: 82.31 MB / 0.5886 GB, free: 2.594 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamProperties): time 0.3951/0.5374, allocations: 132.3 MB / 0.7178 GB, free: 11.62 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.03177/0.5692, allocations: 24.24 MB / 0.7415 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002025/0.5694, allocations: 0 / 0.7415 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002862/0.5697, allocations: 36.88 kB / 0.7415 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003136/0.5701, allocations: 91.55 kB / 0.7416 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.01982/0.5899, allocations: 5.282 MB / 0.7467 GB, free: 7.906 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004528/0.5904, allocations: 313.5 kB / 0.747 GB, free: 7.742 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.767e-05/0.5904, allocations: 11.42 kB / 0.747 GB, free: 7.734 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003023/0.5907, allocations: 138 kB / 0.7472 GB, free: 7.66 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001603/0.5909, allocations: 89.53 kB / 0.7473 GB, free: 7.609 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.004e-05/0.5909, allocations: 7.969 kB / 0.7473 GB, free: 7.609 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02024/0.6112, allocations: 10.86 MB / 0.7579 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000116/0.6113, allocations: 35.89 kB / 0.7579 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001666/0.6115, allocations: 101.4 kB / 0.758 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.008229/0.6198, allocations: 4.113 MB / 0.762 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.6198, allocations: 0 / 0.762 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.515e-06/0.6198, allocations: 0 / 0.762 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.371e-06/0.6198, allocations: 0 / 0.762 GB, free: 10.27 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.003276/0.6231, allocations: 1.148 MB / 0.7631 GB, free: 9.078 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.6231, allocations: 12.03 kB / 0.7632 GB, free: 9.066 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001045/0.6242, allocations: 84.67 kB / 0.7632 GB, free: 8.984 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002333/0.6244, allocations: 232 kB / 0.7635 GB, free: 8.719 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.639e-05/0.6245, allocations: 12.38 kB / 0.7635 GB, free: 8.707 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.659e-05/0.6245, allocations: 15.94 kB / 0.7635 GB, free: 8.691 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001052/0.6256, allocations: 455.2 kB / 0.7639 GB, free: 8.23 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.6256, allocations: 3.938 kB / 0.7639 GB, free: 8.227 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.824e-05/0.6256, allocations: 12 kB / 0.7639 GB, free: 8.215 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.6256, allocations: 4 kB / 0.7639 GB, free: 8.211 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001113/0.6267, allocations: 0.5931 MB / 0.7645 GB, free: 7.617 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009728/0.6277, allocations: 0.8793 MB / 0.7654 GB, free: 6.652 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007446/0.6285, allocations: 246.4 kB / 0.7656 GB, free: 6.402 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001124/0.6286, allocations: 74.58 kB / 0.7657 GB, free: 6.328 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08501/0.7136, allocations: 35.34 MB / 0.8002 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.029e-05/0.7137, allocations: 34.56 kB / 0.8002 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=25): time 2.053e-06/0.7137, allocations: 3.938 kB / 0.8002 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of matching and sorting (n=25): time 0.001697/0.7154, allocations: 419.3 kB / 0.8006 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.98e-05/0.7155, allocations: 59.41 kB / 0.8007 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001212/0.7156, allocations: 136.3 kB / 0.8008 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.204e-05/0.7156, allocations: 33.69 kB / 0.8009 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 6.93e-05/0.7157, allocations: 108.4 kB / 0.801 GB, free: 15.08 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 7.336e-05/0.7158, allocations: 90.73 kB / 0.801 GB, free: 14.99 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.427e-05/0.7159, allocations: 29.7 kB / 0.8011 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.716, allocations: 326.7 kB / 0.8014 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001727/0.7162, allocations: 79.95 kB / 0.8015 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002137/0.7164, allocations: 130.6 kB / 0.8016 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003981/0.7168, allocations: 233.3 kB / 0.8018 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.7168, allocations: 0 / 0.8018 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000669/0.7175, allocations: 293.3 kB / 0.8021 GB, free: 13.87 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.7175, allocations: 4 kB / 0.8021 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/0.7175, allocations: 4 kB / 0.8021 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.7176, allocations: 0 / 0.8021 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002893/0.7178, allocations: 83.88 kB / 0.8022 GB, free: 13.78 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.7179, allocations: 4 kB / 0.8022 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001641/0.718, allocations: 31.03 kB / 0.8022 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.199e-05/0.7181, allocations: 23.92 kB / 0.8022 GB, free: 13.72 MB / 0.6231 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.0001303/0.7182, allocations: 129.8 kB / 0.8024 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001623/0.7184, allocations: 19.81 kB / 0.8024 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002333/0.7207, allocations: 2.346 MB / 0.8047 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.291e-05/0.7208, allocations: 7.984 kB / 0.8047 GB, free: 11.2 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.7208, allocations: 0 / 0.8047 GB, free: 11.2 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.643e-06/0.7208, allocations: 4 kB / 0.8047 GB, free: 11.2 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003712/0.7245, allocations: 3.434 MB / 0.808 GB, free: 7.66 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.179e-06/0.7245, allocations: 0 / 0.808 GB, free: 7.66 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002507/0.7248, allocations: 51.95 kB / 0.8081 GB, free: 7.609 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.294e-06/0.7248, allocations: 3.984 kB / 0.8081 GB, free: 7.605 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.386e-05/0.7249, allocations: 15.92 kB / 0.8081 GB, free: 7.59 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.7249, allocations: 0 / 0.8081 GB, free: 7.59 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.7249, allocations: 0 / 0.8081 GB, free: 7.59 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008168/0.7257, allocations: 0.5547 MB / 0.8086 GB, free: 7.02 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000138/0.7259, allocations: 144.4 kB / 0.8088 GB, free: 6.859 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.37e-05/0.7259, allocations: 7.938 kB / 0.8088 GB, free: 6.852 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000233/0.7262, allocations: 19.98 kB / 0.8088 GB, free: 6.832 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.378e-05/0.7262, allocations: 15.97 kB / 0.8088 GB, free: 6.816 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.322e-05/0.7262, allocations: 12 kB / 0.8088 GB, free: 6.805 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 9.574e-05/0.7263, allocations: 109.4 kB / 0.8089 GB, free: 6.699 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1e-07/0.7263, allocations: 0 / 0.8089 GB, free: 6.699 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.004405/0.7308, allocations: 1.624 MB / 0.8105 GB, free: 5.074 MB / 0.6231 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.008397/0.7392, allocations: 1.893 MB / 0.8124 GB, free: 3.176 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0006262/0.7398, allocations: 320.4 kB / 0.8127 GB, free: 2.863 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.7398, allocations: 0 / 0.8127 GB, free: 2.863 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003488/0.7402, allocations: 241.2 kB / 0.8129 GB, free: 2.629 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005872/0.7408, allocations: 71.91 kB / 0.813 GB, free: 2.562 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001272/0.7421, allocations: 0.8185 MB / 0.8138 GB, free: 1.707 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003474/0.7424, allocations: 0.7699 MB / 0.8145 GB, free: 0.9141 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001469/0.7426, allocations: 51.41 kB / 0.8146 GB, free: 0.8672 MB / 0.6231 GB Notification: Performance of SimCode: time 4.71e-07/0.7426, allocations: 0 / 0.8146 GB, free: 0.8672 MB / 0.6231 GB Notification: Performance of Templates: time 0.04624/0.7888, allocations: 31.45 MB / 0.8453 GB, free: 1.398 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.SteamProperties.pipe 2>&1)