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.001529/0.001534, allocations: 108.3 kB / 16.27 MB, free: 6.41 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.001218/0.001218, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.369/1.369, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8247/0.8247, allocations: 135.2 MB / 426.2 MB, free: 4.188 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001912/0.001912, allocations: 59.91 kB / 0.506 GB, free: 8.402 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3665/0.3685, allocations: 80.92 MB / 0.585 GB, free: 25.13 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterProperties): time 0.004683/0.3732, allocations: 4.706 MB / 0.5896 GB, free: 21.32 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002004/0.3752, allocations: 2.701 MB / 0.5923 GB, free: 19.11 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.495e-05/0.3753, allocations: 0 / 0.5923 GB, free: 19.11 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002246/0.3755, allocations: 47.69 kB / 0.5923 GB, free: 19.06 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002034/0.3758, allocations: 99.34 kB / 0.5924 GB, free: 18.96 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008336/0.3766, allocations: 0.4982 MB / 0.5929 GB, free: 18.47 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001517/0.3768, allocations: 230 kB / 0.5931 GB, free: 18.25 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.992e-05/0.3768, allocations: 17.53 kB / 0.5931 GB, free: 18.23 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001387/0.3769, allocations: 119.5 kB / 0.5933 GB, free: 18.12 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.596e-05/0.3771, allocations: 88.42 kB / 0.5933 GB, free: 18.03 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.206e-05/0.3771, allocations: 8 kB / 0.5933 GB, free: 18.02 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004957/0.3776, allocations: 367.9 kB / 0.5937 GB, free: 17.66 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.754e-05/0.3777, allocations: 42.16 kB / 0.5937 GB, free: 17.62 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.231e-05/0.3777, allocations: 75.66 kB / 0.5938 GB, free: 17.55 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004242/0.3782, allocations: 357.1 kB / 0.5941 GB, free: 17.2 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.3782, allocations: 0 / 0.5941 GB, free: 17.2 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.3782, allocations: 0 / 0.5941 GB, free: 17.2 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.071e-06/0.3782, allocations: 0 / 0.5941 GB, free: 17.2 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.0005538/0.3787, allocations: 0.5084 MB / 0.5946 GB, free: 16.65 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.89e-05/0.3788, allocations: 13.11 kB / 0.5947 GB, free: 16.64 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001465/0.3789, allocations: 20.75 kB / 0.5947 GB, free: 16.62 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001656/0.3791, allocations: 216.8 kB / 0.5949 GB, free: 16.37 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.3791, allocations: 12.7 kB / 0.5949 GB, free: 16.36 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.966e-05/0.3791, allocations: 13.66 kB / 0.5949 GB, free: 16.34 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002884/0.3794, allocations: 253.4 kB / 0.5951 GB, free: 16.08 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.3795, allocations: 3.594 kB / 0.5952 GB, free: 16.08 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.054e-05/0.3795, allocations: 4 kB / 0.5952 GB, free: 16.07 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.048e-05/0.3795, allocations: 11.98 kB / 0.5952 GB, free: 16.06 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003396/0.3799, allocations: 427.3 kB / 0.5956 GB, free: 15.64 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007901/0.3806, allocations: 0.9479 MB / 0.5965 GB, free: 14.61 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002169/0.3809, allocations: 155.9 kB / 0.5966 GB, free: 14.45 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.808e-05/0.381, allocations: 62.14 kB / 0.5967 GB, free: 14.39 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007939/0.3818, allocations: 1.823 MB / 0.5985 GB, free: 12.21 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.02e-05/0.3818, allocations: 38.56 kB / 0.5985 GB, free: 12.16 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 1.222e-06/0.3818, allocations: 1.094 kB / 0.5985 GB, free: 12.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0002724/0.3821, allocations: 152.3 kB / 0.5987 GB, free: 12.01 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.002e-05/0.3821, allocations: 61.05 kB / 0.5987 GB, free: 11.94 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.791e-05/0.3822, allocations: 165.6 kB / 0.5989 GB, free: 11.76 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/0.3822, allocations: 33.7 kB / 0.5989 GB, free: 11.72 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.665e-05/0.3823, allocations: 143.7 kB / 0.5991 GB, free: 11.58 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.359e-05/0.3823, allocations: 48.7 kB / 0.5991 GB, free: 11.53 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.072e-05/0.3824, allocations: 53.61 kB / 0.5992 GB, free: 11.47 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.513e-05/0.3824, allocations: 327.4 kB / 0.5995 GB, free: 11.14 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.66e-05/0.3825, allocations: 41.19 kB / 0.5995 GB, free: 11.11 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.986e-05/0.3826, allocations: 140.8 kB / 0.5996 GB, free: 10.92 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001621/0.3827, allocations: 194.5 kB / 0.5998 GB, free: 10.69 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.3828, allocations: 4 kB / 0.5998 GB, free: 10.69 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000258/0.383, allocations: 210.9 kB / 0.6 GB, free: 10.48 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.383, allocations: 10.88 kB / 0.6 GB, free: 10.47 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.3831, allocations: 5.469 kB / 0.6 GB, free: 10.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.3831, allocations: 15.86 kB / 0.6001 GB, free: 10.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001439/0.3832, allocations: 55.86 kB / 0.6001 GB, free: 10.39 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.3832, allocations: 7.984 kB / 0.6001 GB, free: 10.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.691e-05/0.3833, allocations: 37.98 kB / 0.6002 GB, free: 10.35 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.4e-05/0.3834, allocations: 12 kB / 0.6002 GB, free: 10.34 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.009e-05/0.3834, allocations: 129.7 kB / 0.6003 GB, free: 10.2 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.573e-05/0.3835, allocations: 19.81 kB / 0.6003 GB, free: 10.18 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002287/0.3837, allocations: 154.2 kB / 0.6005 GB, free: 10.03 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.435e-06/0.3837, allocations: 9.031 kB / 0.6005 GB, free: 10.02 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.3837, allocations: 3.984 kB / 0.6005 GB, free: 10.02 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.3838, allocations: 1.281 kB / 0.6005 GB, free: 10.02 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001683/0.3839, allocations: 209.6 kB / 0.6007 GB, free: 9.766 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.3839, allocations: 0 / 0.6007 GB, free: 9.766 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.851e-05/0.384, allocations: 27.98 kB / 0.6007 GB, free: 9.738 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.384, allocations: 0.625 kB / 0.6007 GB, free: 9.738 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.276e-06/0.384, allocations: 0 / 0.6007 GB, free: 9.738 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.035e-06/0.384, allocations: 13.45 kB / 0.6007 GB, free: 9.727 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3841, allocations: 3.984 kB / 0.6007 GB, free: 9.723 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001766/0.3842, allocations: 220.2 kB / 0.6009 GB, free: 9.492 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.645e-05/0.3843, allocations: 108.8 kB / 0.601 GB, free: 9.367 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.253e-05/0.3843, allocations: 4.875 kB / 0.601 GB, free: 9.363 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001901/0.3845, allocations: 20.92 kB / 0.6011 GB, free: 9.344 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.854e-05/0.3845, allocations: 7.984 kB / 0.6011 GB, free: 9.336 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.678e-05/0.3846, allocations: 15.98 kB / 0.6011 GB, free: 9.32 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.478e-05/0.3846, allocations: 122.5 kB / 0.6012 GB, free: 9.203 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3846, allocations: 0 / 0.6012 GB, free: 9.203 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003364/0.385, allocations: 76 kB / 0.6013 GB, free: 9.129 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.0002338/0.3852, allocations: 177.4 kB / 0.6014 GB, free: 8.953 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001989/0.3854, allocations: 134.4 kB / 0.6016 GB, free: 8.824 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3854, allocations: 6.375 kB / 0.6016 GB, free: 8.82 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.176e-05/0.3855, allocations: 47.02 kB / 0.6016 GB, free: 8.777 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003998/0.3859, allocations: 53.73 kB / 0.6017 GB, free: 8.727 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000524/0.3864, allocations: 362.3 kB / 0.602 GB, free: 8.348 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000112/0.3866, allocations: 0.7197 MB / 0.6027 GB, free: 7.602 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.096e-05/0.3866, allocations: 27.44 kB / 0.6027 GB, free: 7.574 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3866, allocations: 0 / 0.6027 GB, free: 7.574 MB / 446.1 MB Notification: Performance of Templates: time 0.004091/0.3907, allocations: 3.162 MB / 0.6058 GB, free: 4.445 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)