Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.WaterProperties.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.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.WaterProperties") translateModel(IDEAS.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.WaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001664/0.001664, allocations: 107.5 kB / 15.99 MB, free: 6.359 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.001877/0.001878, allocations: 196.6 kB / 16.91 MB, free: 6.199 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.322/1.322, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7918/0.7918, allocations: 132.2 MB / 422.9 MB, free: 6.805 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 64.05 kB / 0.5019 GB, free: 12.03 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.352/0.3533, allocations: 80.2 MB / 0.5802 GB, free: 27.56 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterProperties): time 0.004712/0.358, allocations: 4.734 MB / 0.5848 GB, free: 23.74 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00238/0.3605, allocations: 2.697 MB / 0.5875 GB, free: 21.57 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001484/0.3606, allocations: 0 / 0.5875 GB, free: 21.57 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002975/0.3609, allocations: 43.91 kB / 0.5875 GB, free: 21.54 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002692/0.3613, allocations: 89.56 kB / 0.5876 GB, free: 21.46 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001165/0.3624, allocations: 471.6 kB / 0.588 GB, free: 21.15 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000227/0.3627, allocations: 233.7 kB / 0.5883 GB, free: 21.03 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.793e-05/0.3627, allocations: 10.53 kB / 0.5883 GB, free: 21.03 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001843/0.3629, allocations: 120.5 kB / 0.5884 GB, free: 20.97 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001284/0.3631, allocations: 90.81 kB / 0.5885 GB, free: 20.92 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.389e-05/0.3631, allocations: 11.03 kB / 0.5885 GB, free: 20.91 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006466/0.3637, allocations: 377.2 kB / 0.5888 GB, free: 20.7 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.298e-05/0.3638, allocations: 36.2 kB / 0.5889 GB, free: 20.68 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.711e-05/0.3639, allocations: 83.83 kB / 0.589 GB, free: 20.63 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003443/0.3643, allocations: 239.6 kB / 0.5892 GB, free: 20.51 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.3643, allocations: 3.984 kB / 0.5892 GB, free: 20.51 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.3643, allocations: 2.469 kB / 0.5892 GB, free: 20.51 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.015e-06/0.3643, allocations: 0 / 0.5892 GB, free: 20.51 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006921/0.365, allocations: 0.4994 MB / 0.5897 GB, free: 20.04 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.3651, allocations: 10.39 kB / 0.5897 GB, free: 20.04 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001628/0.3652, allocations: 21.34 kB / 0.5897 GB, free: 20.03 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001684/0.3654, allocations: 214.5 kB / 0.5899 GB, free: 19.79 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.508e-05/0.3654, allocations: 18.2 kB / 0.5899 GB, free: 19.78 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.591e-05/0.3655, allocations: 15.88 kB / 0.5899 GB, free: 19.78 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003498/0.3658, allocations: 251.4 kB / 0.5902 GB, free: 19.6 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.3659, allocations: 0 / 0.5902 GB, free: 19.6 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.367e-05/0.3659, allocations: 9.094 kB / 0.5902 GB, free: 19.6 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.198e-05/0.3659, allocations: 18.12 kB / 0.5902 GB, free: 19.59 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004329/0.3664, allocations: 433.5 kB / 0.5906 GB, free: 19.39 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009172/0.3673, allocations: 0.9444 MB / 0.5915 GB, free: 18.47 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002593/0.3676, allocations: 157.5 kB / 0.5917 GB, free: 18.4 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001072/0.3677, allocations: 61.95 kB / 0.5918 GB, free: 18.37 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009106/0.3686, allocations: 1.823 MB / 0.5935 GB, free: 16.28 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.635e-05/0.3686, allocations: 42.84 kB / 0.5936 GB, free: 16.23 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 1.373e-06/0.3686, allocations: 0 / 0.5936 GB, free: 16.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0003086/0.369, allocations: 145.7 kB / 0.5937 GB, free: 16.1 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.737e-05/0.369, allocations: 56.31 kB / 0.5938 GB, free: 16.04 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.3691, allocations: 173.5 kB / 0.5939 GB, free: 15.85 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.862e-05/0.3691, allocations: 29.7 kB / 0.594 GB, free: 15.82 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.228e-05/0.3692, allocations: 144.3 kB / 0.5941 GB, free: 15.67 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.589e-05/0.3692, allocations: 49.33 kB / 0.5942 GB, free: 15.62 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.343e-05/0.3693, allocations: 53.61 kB / 0.5942 GB, free: 15.57 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.993e-05/0.3693, allocations: 322.8 kB / 0.5945 GB, free: 15.24 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.387e-05/0.3694, allocations: 39.97 kB / 0.5945 GB, free: 15.2 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.274e-05/0.3695, allocations: 141.5 kB / 0.5947 GB, free: 15.02 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001613/0.3697, allocations: 196.3 kB / 0.5949 GB, free: 14.79 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.3697, allocations: 4 kB / 0.5949 GB, free: 14.79 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002496/0.3699, allocations: 220.7 kB / 0.5951 GB, free: 14.57 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.37, allocations: 8 kB / 0.5951 GB, free: 14.56 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.044e-06/0.37, allocations: 5.156 kB / 0.5951 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.37, allocations: 4 kB / 0.5951 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001523/0.3701, allocations: 55.86 kB / 0.5952 GB, free: 14.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.3702, allocations: 15.67 kB / 0.5952 GB, free: 14.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001037/0.3703, allocations: 23.75 kB / 0.5952 GB, free: 14.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.651e-05/0.3703, allocations: 12 kB / 0.5952 GB, free: 14.45 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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): 29 * Array equations: 1 * 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 7.998e-05/0.3704, allocations: 138.3 kB / 0.5953 GB, free: 14.3 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.384e-05/0.3704, allocations: 11.91 kB / 0.5953 GB, free: 14.29 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002475/0.3707, allocations: 154.9 kB / 0.5955 GB, free: 14.14 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.448e-06/0.3707, allocations: 10.16 kB / 0.5955 GB, free: 14.13 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.3707, allocations: 3.938 kB / 0.5955 GB, free: 14.13 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.3707, allocations: 0 / 0.5955 GB, free: 14.13 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001768/0.3709, allocations: 213.6 kB / 0.5957 GB, free: 13.87 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.3709, allocations: 0 / 0.5957 GB, free: 13.87 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.697e-05/0.371, allocations: 20 kB / 0.5957 GB, free: 13.85 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.371, allocations: 0.5 kB / 0.5957 GB, free: 13.85 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.371, allocations: 13.11 kB / 0.5957 GB, free: 13.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.371, allocations: 11.88 kB / 0.5958 GB, free: 13.83 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.371, allocations: 0 / 0.5958 GB, free: 13.83 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001805/0.3712, allocations: 219 kB / 0.596 GB, free: 13.6 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.992e-05/0.3713, allocations: 115.4 kB / 0.5961 GB, free: 13.47 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.576e-05/0.3713, allocations: 7.969 kB / 0.5961 GB, free: 13.46 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000191/0.3715, allocations: 19.92 kB / 0.5961 GB, free: 13.45 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.903e-05/0.3715, allocations: 4 kB / 0.5961 GB, free: 13.44 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.84e-05/0.3716, allocations: 15.98 kB / 0.5961 GB, free: 13.43 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.699e-05/0.3716, allocations: 121.4 kB / 0.5962 GB, free: 13.31 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3716, allocations: 0.5312 kB / 0.5962 GB, free: 13.31 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003832/0.372, allocations: 81.58 kB / 0.5963 GB, free: 13.23 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (15): * Single equations (assignments): 14 * Array equations: 1 * 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 Backend phase and start with SimCode phase: time 0.0003408/0.3724, allocations: 181.5 kB / 0.5965 GB, free: 13.05 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002161/0.3726, allocations: 125.6 kB / 0.5966 GB, free: 12.93 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.3726, allocations: 0 / 0.5966 GB, free: 12.93 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.559e-05/0.3727, allocations: 48.92 kB / 0.5967 GB, free: 12.88 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004177/0.3731, allocations: 50.64 kB / 0.5967 GB, free: 12.84 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006194/0.3737, allocations: 421.2 kB / 0.5971 GB, free: 12.4 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001238/0.3739, allocations: 0.7185 MB / 0.5978 GB, free: 11.66 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.466e-05/0.3739, allocations: 27.44 kB / 0.5978 GB, free: 11.63 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3739, allocations: 0.5625 kB / 0.5978 GB, free: 11.63 MB / 446.1 MB Notification: Performance of Templates: time 0.004181/0.3781, allocations: 3.16 MB / 0.6009 GB, free: 8.508 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Media.Examples.WaterProperties.makefile (rm -f IDEAS_IDEAS.Media.Examples.WaterProperties.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.WaterProperties.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.WaterProperties.pipe >> ../files/IDEAS_IDEAS.Media.Examples.WaterProperties.sim & ./IDEAS_IDEAS.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.WaterProperties.pipe 2>&1)