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.001607/0.001607, allocations: 103.7 kB / 15.98 MB, free: 6.355 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.001342/0.001342, allocations: 195.1 kB / 16.91 MB, free: 6.191 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.382/1.382, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.812/0.812, allocations: 135.1 MB / 425.9 MB, free: 4.328 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001468/0.001468, allocations: 59.91 kB / 0.5055 GB, free: 8.758 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3525/0.354, allocations: 80.92 MB / 0.5845 GB, free: 25.09 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterProperties): time 0.005238/0.3593, allocations: 4.73 MB / 0.5891 GB, free: 21.27 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002099/0.3614, allocations: 2.695 MB / 0.5918 GB, free: 19.11 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001002/0.3615, allocations: 1.688 kB / 0.5918 GB, free: 19.11 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002481/0.3618, allocations: 43.08 kB / 0.5918 GB, free: 19.07 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002517/0.3621, allocations: 83.73 kB / 0.5919 GB, free: 19.01 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001057/0.3631, allocations: 475.4 kB / 0.5923 GB, free: 18.69 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002042/0.3634, allocations: 233.6 kB / 0.5925 GB, free: 18.5 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.314e-05/0.3634, allocations: 11.41 kB / 0.5926 GB, free: 18.49 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002234/0.3637, allocations: 119.5 kB / 0.5927 GB, free: 18.37 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001488/0.3638, allocations: 93.47 kB / 0.5928 GB, free: 18.28 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.338e-05/0.3638, allocations: 8 kB / 0.5928 GB, free: 18.27 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006118/0.3645, allocations: 375.2 kB / 0.5931 GB, free: 17.91 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.917e-05/0.3645, allocations: 43.88 kB / 0.5932 GB, free: 17.86 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.349e-05/0.3646, allocations: 75.66 kB / 0.5932 GB, free: 17.79 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002953/0.3649, allocations: 242.2 kB / 0.5935 GB, free: 17.55 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3649, allocations: 0 / 0.5935 GB, free: 17.55 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.3649, allocations: 0.5938 kB / 0.5935 GB, free: 17.55 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.141e-06/0.3649, allocations: 7.188 kB / 0.5935 GB, free: 17.55 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.0006168/0.3656, allocations: 0.4992 MB / 0.594 GB, free: 17 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.3656, allocations: 17.05 kB / 0.594 GB, free: 16.99 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001593/0.3658, allocations: 20.75 kB / 0.594 GB, free: 16.97 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001562/0.3659, allocations: 216 kB / 0.5942 GB, free: 16.72 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.366, allocations: 12.7 kB / 0.5942 GB, free: 16.71 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.703e-05/0.366, allocations: 12.38 kB / 0.5942 GB, free: 16.7 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003013/0.3663, allocations: 247.2 kB / 0.5945 GB, free: 16.44 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.3663, allocations: 3.984 kB / 0.5945 GB, free: 16.43 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.221e-05/0.3663, allocations: 11.94 kB / 0.5945 GB, free: 16.42 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.131e-05/0.3664, allocations: 7.031 kB / 0.5945 GB, free: 16.42 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003533/0.3667, allocations: 431.3 kB / 0.5949 GB, free: 16 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008717/0.3676, allocations: 0.9427 MB / 0.5958 GB, free: 14.96 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002287/0.3678, allocations: 161.8 kB / 0.596 GB, free: 14.8 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.168e-05/0.3679, allocations: 68.86 kB / 0.596 GB, free: 14.73 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008545/0.3688, allocations: 1.831 MB / 0.5978 GB, free: 12.55 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.077e-05/0.3688, allocations: 34.56 kB / 0.5979 GB, free: 12.5 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 1.383e-06/0.3688, allocations: 0 / 0.5979 GB, free: 12.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0002826/0.3691, allocations: 148.5 kB / 0.598 GB, free: 12.36 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.764e-05/0.3692, allocations: 64.38 kB / 0.5981 GB, free: 12.28 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000101/0.3693, allocations: 164 kB / 0.5982 GB, free: 12.11 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.842e-05/0.3693, allocations: 35.42 kB / 0.5983 GB, free: 12.07 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.285e-05/0.3694, allocations: 151.7 kB / 0.5984 GB, free: 11.91 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.429e-05/0.3694, allocations: 47.3 kB / 0.5984 GB, free: 11.87 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.418e-05/0.3694, allocations: 53.61 kB / 0.5985 GB, free: 11.81 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.769e-05/0.3695, allocations: 324.4 kB / 0.5988 GB, free: 11.48 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.635e-05/0.3696, allocations: 39.97 kB / 0.5988 GB, free: 11.45 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.972e-05/0.3697, allocations: 137 kB / 0.599 GB, free: 11.27 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001604/0.3698, allocations: 206.2 kB / 0.5992 GB, free: 11.02 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.716e-06/0.3698, allocations: 0 / 0.5992 GB, free: 11.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002526/0.3701, allocations: 211.8 kB / 0.5994 GB, free: 10.81 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.3701, allocations: 9.281 kB / 0.5994 GB, free: 10.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.3701, allocations: 7.938 kB / 0.5994 GB, free: 10.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.3701, allocations: 4 kB / 0.5994 GB, free: 10.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001544/0.3703, allocations: 51.86 kB / 0.5994 GB, free: 10.74 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.248e-06/0.3703, allocations: 12.45 kB / 0.5995 GB, free: 10.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001084/0.3704, allocations: 29.34 kB / 0.5995 GB, free: 10.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.573e-05/0.3705, allocations: 12 kB / 0.5995 GB, free: 10.69 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 8.043e-05/0.3705, allocations: 139.8 kB / 0.5996 GB, free: 10.55 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.648e-05/0.3706, allocations: 15.81 kB / 0.5996 GB, free: 10.53 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002471/0.3709, allocations: 157.9 kB / 0.5998 GB, free: 10.38 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.008e-05/0.3709, allocations: 7.938 kB / 0.5998 GB, free: 10.37 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.3709, allocations: 0.5312 kB / 0.5998 GB, free: 10.37 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.3709, allocations: 0.5938 kB / 0.5998 GB, free: 10.37 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001873/0.3711, allocations: 213.6 kB / 0.6 GB, free: 10.11 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.3711, allocations: 0.8125 kB / 0.6 GB, free: 10.11 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.257e-05/0.3712, allocations: 27.94 kB / 0.6 GB, free: 10.08 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.3712, allocations: 0.7188 kB / 0.6 GB, free: 10.08 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.3712, allocations: 7.984 kB / 0.6 GB, free: 10.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.225e-06/0.3712, allocations: 4.844 kB / 0.6 GB, free: 10.07 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3712, allocations: 0 / 0.6 GB, free: 10.07 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001887/0.3714, allocations: 224.2 kB / 0.6003 GB, free: 9.836 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.337e-05/0.3715, allocations: 117.4 kB / 0.6004 GB, free: 9.703 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.644e-05/0.3715, allocations: 4.875 kB / 0.6004 GB, free: 9.699 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000205/0.3717, allocations: 20.89 kB / 0.6004 GB, free: 9.68 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.21e-05/0.3718, allocations: 11.98 kB / 0.6004 GB, free: 9.668 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.879e-05/0.3718, allocations: 8 kB / 0.6004 GB, free: 9.66 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.345e-05/0.3719, allocations: 125.4 kB / 0.6005 GB, free: 9.539 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3719, allocations: 0 / 0.6005 GB, free: 9.539 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000374/0.3723, allocations: 75.98 kB / 0.6006 GB, free: 9.465 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.0003433/0.3726, allocations: 186.8 kB / 0.6008 GB, free: 9.281 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002172/0.3728, allocations: 127 kB / 0.6009 GB, free: 9.16 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3728, allocations: 0 / 0.6009 GB, free: 9.16 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.513e-05/0.3729, allocations: 43.92 kB / 0.601 GB, free: 9.117 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004364/0.3733, allocations: 48.58 kB / 0.601 GB, free: 9.074 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006107/0.374, allocations: 420.6 kB / 0.6014 GB, free: 8.641 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001391/0.3741, allocations: 0.7166 MB / 0.6021 GB, free: 7.898 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.849e-05/0.3742, allocations: 27.44 kB / 0.6021 GB, free: 7.871 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3742, allocations: 0 / 0.6021 GB, free: 7.871 MB / 446.1 MB Notification: Performance of Templates: time 0.00422/0.3784, allocations: 3.163 MB / 0.6052 GB, free: 4.738 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe 2>&1)