Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.WaterProperties") translateModel(IDEAS.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001283/0.001283, allocations: 103.1 kB / 16.35 MB, free: 5.828 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.001097/0.001097, allocations: 193.2 kB / 17.29 MB, free: 5.484 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.28/1.28, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7658/0.7658, allocations: 135.1 MB / 426.3 MB, free: 4.094 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 59.91 kB / 0.5067 GB, free: 7.656 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.356/0.3573, allocations: 80.91 MB / 0.5857 GB, free: 25.55 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterProperties): time 0.005053/0.3624, allocations: 4.715 MB / 0.5903 GB, free: 21.74 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001938/0.3643, allocations: 2.688 MB / 0.593 GB, free: 19.08 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.847e-05/0.3644, allocations: 2.219 kB / 0.593 GB, free: 19.08 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002622/0.3647, allocations: 59.66 kB / 0.593 GB, free: 19.02 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002156/0.365, allocations: 87.38 kB / 0.5931 GB, free: 18.93 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008981/0.3659, allocations: 0.51 MB / 0.5936 GB, free: 18.43 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001781/0.3661, allocations: 235.9 kB / 0.5938 GB, free: 18.2 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.099e-05/0.3661, allocations: 14.95 kB / 0.5939 GB, free: 18.19 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001448/0.3663, allocations: 116.4 kB / 0.594 GB, free: 18.08 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001088/0.3664, allocations: 91.66 kB / 0.5941 GB, free: 17.99 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.949e-05/0.3664, allocations: 8 kB / 0.5941 GB, free: 17.98 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004938/0.3669, allocations: 360.4 kB / 0.5944 GB, free: 17.63 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.49e-05/0.367, allocations: 35.89 kB / 0.5944 GB, free: 17.59 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.711e-05/0.367, allocations: 88.39 kB / 0.5945 GB, free: 17.51 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004214/0.3675, allocations: 356.8 kB / 0.5949 GB, free: 17.16 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.3675, allocations: 1 kB / 0.5949 GB, free: 17.16 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3675, allocations: 0 / 0.5949 GB, free: 17.16 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.089e-06/0.3675, allocations: 0 / 0.5949 GB, free: 17.16 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.0005485/0.368, allocations: 0.5046 MB / 0.5954 GB, free: 16.61 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.002e-05/0.3681, allocations: 9.109 kB / 0.5954 GB, free: 16.6 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001482/0.3682, allocations: 20.75 kB / 0.5954 GB, free: 16.58 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001632/0.3684, allocations: 225 kB / 0.5956 GB, free: 16.32 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.3684, allocations: 12.14 kB / 0.5956 GB, free: 16.32 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.745e-05/0.3685, allocations: 16.38 kB / 0.5956 GB, free: 16.3 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002882/0.3687, allocations: 244.2 kB / 0.5959 GB, free: 16.04 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.3688, allocations: 0 / 0.5959 GB, free: 16.04 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.99e-05/0.3688, allocations: 8 kB / 0.5959 GB, free: 16.04 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.338e-05/0.3688, allocations: 8.594 kB / 0.5959 GB, free: 16.03 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000338/0.3692, allocations: 435.3 kB / 0.5963 GB, free: 15.6 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008071/0.37, allocations: 0.9537 MB / 0.5972 GB, free: 14.56 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000216/0.3702, allocations: 158 kB / 0.5974 GB, free: 14.4 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.006e-05/0.3703, allocations: 56.84 kB / 0.5974 GB, free: 14.34 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008025/0.3711, allocations: 1.831 MB / 0.5992 GB, free: 12.16 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.133e-05/0.3711, allocations: 40.7 kB / 0.5993 GB, free: 12.11 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 1.774e-06/0.3711, allocations: 0 / 0.5993 GB, free: 12.11 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0002724/0.3714, allocations: 141.4 kB / 0.5994 GB, free: 11.96 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.927e-05/0.3714, allocations: 63.34 kB / 0.5994 GB, free: 11.89 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.747e-05/0.3716, allocations: 164.7 kB / 0.5996 GB, free: 11.71 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.602e-05/0.3716, allocations: 34.48 kB / 0.5996 GB, free: 11.68 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.529e-05/0.3716, allocations: 143.7 kB / 0.5998 GB, free: 11.53 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.14e-05/0.3717, allocations: 48.69 kB / 0.5998 GB, free: 11.48 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.174e-05/0.3717, allocations: 57.61 kB / 0.5999 GB, free: 11.42 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.316e-05/0.3718, allocations: 323.4 kB / 0.6002 GB, free: 11.1 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.583e-05/0.3718, allocations: 33.52 kB / 0.6002 GB, free: 11.07 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.66e-05/0.3719, allocations: 148.1 kB / 0.6004 GB, free: 10.88 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001562/0.3721, allocations: 196.3 kB / 0.6005 GB, free: 10.64 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.3721, allocations: 0 / 0.6005 GB, free: 10.64 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002452/0.3723, allocations: 216.2 kB / 0.6008 GB, free: 10.43 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.3724, allocations: 9.703 kB / 0.6008 GB, free: 10.42 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.3724, allocations: 4 kB / 0.6008 GB, free: 10.42 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.3724, allocations: 9.406 kB / 0.6008 GB, free: 10.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001566/0.3725, allocations: 51.86 kB / 0.6008 GB, free: 10.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.3726, allocations: 4 kB / 0.6008 GB, free: 10.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.863e-05/0.3727, allocations: 27.69 kB / 0.6009 GB, free: 10.33 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.686e-05/0.3727, allocations: 20.61 kB / 0.6009 GB, free: 10.31 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 6.901e-05/0.3728, allocations: 135.3 kB / 0.601 GB, free: 10.17 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.445e-05/0.3728, allocations: 19.8 kB / 0.601 GB, free: 10.15 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00024/0.3731, allocations: 157.3 kB / 0.6012 GB, free: 9.992 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.967e-06/0.3731, allocations: 3.938 kB / 0.6012 GB, free: 9.988 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.3731, allocations: 0 / 0.6012 GB, free: 9.988 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.3731, allocations: 8.984 kB / 0.6012 GB, free: 9.98 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001667/0.3733, allocations: 213.6 kB / 0.6014 GB, free: 9.723 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.3733, allocations: 1.031 kB / 0.6014 GB, free: 9.723 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.894e-05/0.3734, allocations: 23.98 kB / 0.6014 GB, free: 9.699 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.3734, allocations: 4 kB / 0.6014 GB, free: 9.695 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.3734, allocations: 1.625 kB / 0.6014 GB, free: 9.695 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/0.3734, allocations: 3.938 kB / 0.6014 GB, free: 9.691 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.3734, allocations: 0 / 0.6014 GB, free: 9.691 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001791/0.3736, allocations: 228.5 kB / 0.6016 GB, free: 9.453 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.281e-05/0.3737, allocations: 109.8 kB / 0.6017 GB, free: 9.328 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.201e-05/0.3737, allocations: 4 kB / 0.6017 GB, free: 9.324 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001799/0.3739, allocations: 17.45 kB / 0.6018 GB, free: 9.309 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.018e-05/0.3739, allocations: 19.98 kB / 0.6018 GB, free: 9.289 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.8e-05/0.3739, allocations: 7.984 kB / 0.6018 GB, free: 9.281 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.673e-05/0.374, allocations: 126.9 kB / 0.6019 GB, free: 9.16 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.374, allocations: 0 / 0.6019 GB, free: 9.16 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003463/0.3743, allocations: 79.98 kB / 0.602 GB, free: 9.082 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.0002275/0.3746, allocations: 186.1 kB / 0.6022 GB, free: 8.898 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001893/0.3748, allocations: 112 kB / 0.6023 GB, free: 8.793 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3748, allocations: 5.062 kB / 0.6023 GB, free: 8.789 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.282e-05/0.3748, allocations: 43.92 kB / 0.6023 GB, free: 8.746 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003863/0.3752, allocations: 50.08 kB / 0.6024 GB, free: 8.699 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005449/0.3758, allocations: 346.9 kB / 0.6027 GB, free: 8.34 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001088/0.3759, allocations: 0.72 MB / 0.6034 GB, free: 7.594 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001219/0.376, allocations: 49.7 kB / 0.6034 GB, free: 7.547 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.255e-05/0.3761, allocations: 23.44 kB / 0.6035 GB, free: 7.523 MB / 446.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3761, allocations: 0 / 0.6035 GB, free: 7.523 MB / 446.1 MB Notification: Performance of Templates: time 0.005455/0.3815, allocations: 3.408 MB / 0.6068 GB, free: 4.164 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Media.Examples.WaterProperties.makefile (rm -f IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.WaterProperties.sim & ./IDEAS_dev_IDEAS.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe 2>&1)