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.0008095/0.0008096, allocations: 86.33 kB / 15.06 MB, free: 1.09 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.0008768/0.0008768, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.143/1.143, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6502/0.6502, allocations: 132.3 MB / 423.4 MB, free: 2.055 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000267/0.000267, allocations: 9.094 kB / 0.5034 GB, free: 4.285 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3193/0.3196, allocations: 81.57 MB / 0.5831 GB, free: 3.988 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterProperties): time 0.003414/0.323, allocations: 4.203 MB / 0.5872 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002115/0.3251, allocations: 2.499 MB / 0.5896 GB, free: 15.11 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.739e-05/0.3252, allocations: 0 / 0.5896 GB, free: 15.11 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001691/0.3254, allocations: 33.02 kB / 0.5896 GB, free: 15.1 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001873/0.3256, allocations: 88.81 kB / 0.5897 GB, free: 15.04 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007704/0.3264, allocations: 412.4 kB / 0.5901 GB, free: 14.82 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002558/0.3266, allocations: 258.6 kB / 0.5904 GB, free: 14.73 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.9e-05/0.3267, allocations: 17.7 kB / 0.5904 GB, free: 14.72 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001724/0.3268, allocations: 108.8 kB / 0.5905 GB, free: 14.68 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001204/0.327, allocations: 89.53 kB / 0.5906 GB, free: 14.64 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.933e-05/0.327, allocations: 7.25 kB / 0.5906 GB, free: 14.64 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005134/0.3275, allocations: 266 kB / 0.5908 GB, free: 14.55 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.153e-05/0.3276, allocations: 35.36 kB / 0.5909 GB, free: 14.53 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.629e-05/0.3276, allocations: 52.61 kB / 0.5909 GB, free: 14.49 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000302/0.3279, allocations: 219 kB / 0.5911 GB, free: 14.43 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.328, allocations: 0 / 0.5911 GB, free: 14.43 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.328, allocations: 4 kB / 0.5911 GB, free: 14.43 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.847e-06/0.328, allocations: 0 / 0.5911 GB, free: 14.43 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.0005655/0.3285, allocations: 482 kB / 0.5916 GB, free: 13.98 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.866e-05/0.3286, allocations: 9.844 kB / 0.5916 GB, free: 13.98 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001321/0.3287, allocations: 26.39 kB / 0.5916 GB, free: 13.97 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001825/0.3289, allocations: 208 kB / 0.5918 GB, free: 13.75 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.593e-05/0.3289, allocations: 10.83 kB / 0.5918 GB, free: 13.75 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.376e-05/0.329, allocations: 18.25 kB / 0.5918 GB, free: 13.74 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003369/0.3293, allocations: 248.5 kB / 0.5921 GB, free: 13.6 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.3293, allocations: 1 kB / 0.5921 GB, free: 13.6 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.406e-05/0.3293, allocations: 7.094 kB / 0.5921 GB, free: 13.6 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.785e-05/0.3294, allocations: 13.89 kB / 0.5921 GB, free: 13.59 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004799/0.3299, allocations: 435.8 kB / 0.5925 GB, free: 13.5 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009422/0.3308, allocations: 0.9402 MB / 0.5934 GB, free: 12.67 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002544/0.3311, allocations: 164.3 kB / 0.5936 GB, free: 12.61 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.514e-05/0.3312, allocations: 64.86 kB / 0.5937 GB, free: 12.58 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001126/0.3323, allocations: 1.829 MB / 0.5954 GB, free: 10.54 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.762e-05/0.3324, allocations: 36.59 kB / 0.5955 GB, free: 10.5 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 1.162e-06/0.3324, allocations: 5.531 kB / 0.5955 GB, free: 10.49 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0002764/0.3326, allocations: 139 kB / 0.5956 GB, free: 10.43 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.716e-05/0.3327, allocations: 54.67 kB / 0.5957 GB, free: 10.37 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001336/0.3328, allocations: 173.3 kB / 0.5958 GB, free: 10.23 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.3328, allocations: 27.42 kB / 0.5959 GB, free: 10.2 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.129e-05/0.3329, allocations: 144.6 kB / 0.596 GB, free: 10.07 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.674e-05/0.333, allocations: 51.5 kB / 0.596 GB, free: 10.03 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.236e-06/0.333, allocations: 5.375 kB / 0.596 GB, free: 10.03 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.304e-05/0.3331, allocations: 325.8 kB / 0.5964 GB, free: 9.707 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.485e-05/0.3332, allocations: 34.48 kB / 0.5964 GB, free: 9.699 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001237/0.3333, allocations: 150.9 kB / 0.5965 GB, free: 9.543 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.03e-05/0.3334, allocations: 57.09 kB / 0.5966 GB, free: 9.52 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/0.3334, allocations: 0.9688 kB / 0.5966 GB, free: 9.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002982/0.3337, allocations: 208 kB / 0.5968 GB, free: 9.426 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.3337, allocations: 10.78 kB / 0.5968 GB, free: 9.422 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-06/0.3337, allocations: 3.5 kB / 0.5968 GB, free: 9.422 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.3337, allocations: 5.688 kB / 0.5968 GB, free: 9.422 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001573/0.3339, allocations: 51.81 kB / 0.5969 GB, free: 9.418 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/0.3339, allocations: 9.797 kB / 0.5969 GB, free: 9.414 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001011/0.334, allocations: 29.22 kB / 0.5969 GB, free: 9.395 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.959e-05/0.3341, allocations: 14.84 kB / 0.5969 GB, free: 9.391 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.316e-05/0.3342, allocations: 132.7 kB / 0.597 GB, free: 9.262 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.859e-05/0.3342, allocations: 23.36 kB / 0.5971 GB, free: 9.246 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002589/0.3345, allocations: 150.4 kB / 0.5972 GB, free: 9.172 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.085e-06/0.3345, allocations: 1.688 kB / 0.5972 GB, free: 9.172 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.3345, allocations: 0.9062 kB / 0.5972 GB, free: 9.172 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.3345, allocations: 5.156 kB / 0.5972 GB, free: 9.168 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002163/0.3347, allocations: 212.2 kB / 0.5974 GB, free: 8.957 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.3347, allocations: 5.5 kB / 0.5974 GB, free: 8.953 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.442e-05/0.3348, allocations: 29.77 kB / 0.5974 GB, free: 8.945 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.3348, allocations: 5.047 kB / 0.5974 GB, free: 8.941 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.3348, allocations: 5.891 kB / 0.5975 GB, free: 8.938 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.275e-06/0.3349, allocations: 1.578 kB / 0.5975 GB, free: 8.938 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.3349, allocations: 3.984 kB / 0.5975 GB, free: 8.934 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002068/0.3351, allocations: 228.9 kB / 0.5977 GB, free: 8.762 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.654e-05/0.3352, allocations: 111 kB / 0.5978 GB, free: 8.652 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.275e-05/0.3352, allocations: 5.844 kB / 0.5978 GB, free: 8.648 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001812/0.3354, allocations: 23.38 kB / 0.5978 GB, free: 8.641 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.916e-05/0.3354, allocations: 9.562 kB / 0.5978 GB, free: 8.641 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.428e-05/0.3354, allocations: 17.64 kB / 0.5978 GB, free: 8.633 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.408e-05/0.3355, allocations: 121.1 kB / 0.598 GB, free: 8.547 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3355, allocations: 0 / 0.598 GB, free: 8.547 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003505/0.3359, allocations: 76.66 kB / 0.598 GB, free: 8.531 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002249/0.3361, allocations: 172.6 kB / 0.5982 GB, free: 8.414 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002082/0.3363, allocations: 114.3 kB / 0.5983 GB, free: 8.383 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3363, allocations: 0.7812 kB / 0.5983 GB, free: 8.383 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.709e-05/0.3364, allocations: 45.14 kB / 0.5983 GB, free: 8.371 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004062/0.3368, allocations: 52.8 kB / 0.5984 GB, free: 8.355 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005819/0.3374, allocations: 425.2 kB / 0.5988 GB, free: 8.109 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000221/0.3376, allocations: 0.7194 MB / 0.5995 GB, free: 7.406 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000146/0.3378, allocations: 40.36 kB / 0.5995 GB, free: 7.395 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.488e-05/0.3378, allocations: 30.7 kB / 0.5996 GB, free: 7.379 MB / 446.1 MB Notification: Performance of SimCode: time 1.91e-07/0.3378, allocations: 0 / 0.5996 GB, free: 7.379 MB / 446.1 MB Notification: Performance of Templates: time 0.005579/0.3434, allocations: 3.184 MB / 0.6027 GB, free: 6.164 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)