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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001396/0.001396, allocations: 176.2 kB / 7.643 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8398/0.8398, allocations: 130.7 MB / 138.7 MB, free: 3.609 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.602/1.602, allocations: 221.5 MB / 391.8 MB, free: 14.23 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001013/0.001013, allocations: 92.06 kB / 473.9 MB, free: 4.488 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.679e-05/1.677e-05, allocations: 0 / 0.5485 GB, free: 13.06 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5138/0.5139, allocations: 81.57 MB / 0.6282 GB, free: 42.87 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8895/1.403, allocations: 353.5 MB / 0.9734 GB, free: 6.461 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002193/1.404, allocations: 73.06 kB / 0.9734 GB, free: 6.426 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.04736/1.451, allocations: 20.06 MB / 0.993 GB, free: 6.289 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.784e-06/1.451, allocations: 0 / 0.993 GB, free: 6.289 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.569e-05/1.451, allocations: 4 kB / 0.993 GB, free: 6.285 MB / 0.6198 GB 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.0009392/1.452, allocations: 469.5 kB / 0.9935 GB, free: 5.793 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.36e-05/1.452, allocations: 16.02 kB / 0.9935 GB, free: 5.777 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000218/1.452, allocations: 23.77 kB / 0.9935 GB, free: 5.754 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003161/1.453, allocations: 209.8 kB / 0.9937 GB, free: 5.52 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.559e-05/1.453, allocations: 8 kB / 0.9937 GB, free: 5.512 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.409e-05/1.453, allocations: 12 kB / 0.9937 GB, free: 5.5 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005376/1.453, allocations: 405 kB / 0.9941 GB, free: 5.172 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000341/1.454, allocations: 214.9 kB / 0.9943 GB, free: 4.988 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/1.454, allocations: 0 / 0.9943 GB, free: 4.988 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.755e-05/1.454, allocations: 0 / 0.9943 GB, free: 4.988 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.168e-05/1.454, allocations: 11.81 kB / 0.9943 GB, free: 4.98 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001231/1.455, allocations: 0.9538 MB / 0.9953 GB, free: 4.039 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002868/1.455, allocations: 137.5 kB / 0.9954 GB, free: 3.922 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.228e-05/1.455, allocations: 53.33 kB / 0.9954 GB, free: 3.883 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001672/1.457, allocations: 1.92 MB / 0.9973 GB, free: 1.645 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.047e-05/1.457, allocations: 38.52 kB / 0.9974 GB, free: 1.598 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=15): time 3.196e-06/1.457, allocations: 0 / 0.9974 GB, free: 1.598 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15): time 0.0005329/1.458, allocations: 140.1 kB / 0.9975 GB, free: 1.469 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.468e-05/1.458, allocations: 51.41 kB / 0.9975 GB, free: 1.406 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001459/1.458, allocations: 131.2 kB / 0.9977 GB, free: 1.285 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.674e-05/1.458, allocations: 33.7 kB / 0.9977 GB, free: 1.246 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.38e-05/1.458, allocations: 142.7 kB / 0.9978 GB, free: 1.109 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.974e-05/1.458, allocations: 47.17 kB / 0.9979 GB, free: 1.07 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.654e-06/1.458, allocations: 0 / 0.9979 GB, free: 1.07 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001178/1.458, allocations: 325.9 kB / 0.9982 GB, free: 0.75 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.357e-05/1.458, allocations: 27.92 kB / 0.9982 GB, free: 0.7266 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001141/1.458, allocations: 136.4 kB / 0.9983 GB, free: 0.5586 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003237/1.459, allocations: 81.42 kB / 0.9984 GB, free: 0.4922 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/1.459, allocations: 0 / 0.9984 GB, free: 0.4922 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004891/1.459, allocations: 206.4 kB / 0.9986 GB, free: 312 kB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/1.459, allocations: 4 kB / 0.9986 GB, free: 308 kB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/1.459, allocations: 4 kB / 0.9986 GB, free: 304 kB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/1.459, allocations: 11.94 kB / 0.9986 GB, free: 292 kB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001794/1.46, allocations: 59.55 kB / 0.9987 GB, free: 236 kB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/1.46, allocations: 8.453 kB / 0.9987 GB, free: 228 kB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001151/1.46, allocations: 27.69 kB / 0.9987 GB, free: 200 kB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.236e-05/1.46, allocations: 12 kB / 0.9987 GB, free: 188 kB / 0.6198 GB 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 () * 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.294e-05/1.46, allocations: 112.5 kB / 0.9989 GB, free: 72 kB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.141e-05/1.46, allocations: 11.91 kB / 0.9989 GB, free: 60 kB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000522/1.46, allocations: 168.9 kB / 0.999 GB, free: 15.91 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.838e-06/1.46, allocations: 0 / 0.999 GB, free: 15.91 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.154e-06/1.46, allocations: 7.938 kB / 0.999 GB, free: 15.9 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/1.46, allocations: 0 / 0.999 GB, free: 15.9 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002193/1.461, allocations: 191.5 kB / 0.9992 GB, free: 15.69 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/1.461, allocations: 0 / 0.9992 GB, free: 15.69 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001232/1.461, allocations: 27.98 kB / 0.9992 GB, free: 15.66 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.184e-06/1.461, allocations: 11.94 kB / 0.9993 GB, free: 15.65 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/1.461, allocations: 0 / 0.9993 GB, free: 15.65 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/1.461, allocations: 0 / 0.9993 GB, free: 15.65 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/1.461, allocations: 3.984 kB / 0.9993 GB, free: 15.65 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004457/1.461, allocations: 230.3 kB / 0.9995 GB, free: 15.43 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.95e-05/1.461, allocations: 123.3 kB / 0.9996 GB, free: 15.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.671e-05/1.461, allocations: 4 kB / 0.9996 GB, free: 15.29 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002042/1.462, allocations: 15.92 kB / 0.9996 GB, free: 15.28 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.604e-05/1.462, allocations: 11.98 kB / 0.9996 GB, free: 15.27 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.21e-05/1.462, allocations: 11.92 kB / 0.9996 GB, free: 15.26 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.415e-05/1.462, allocations: 101 kB / 0.9997 GB, free: 15.17 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.5e-07/1.462, allocations: 0 / 0.9997 GB, free: 15.17 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004133/1.462, allocations: 83.67 kB / 0.9998 GB, free: 15.09 MB / 0.6355 GB 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 () * 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.0003195/1.463, allocations: 199.9 kB / 1 GB, free: 14.89 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001979/1.463, allocations: 98.17 kB / 1 GB, free: 14.81 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/1.463, allocations: 0 / 1 GB, free: 14.81 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.634e-05/1.463, allocations: 44.16 kB / 1 GB, free: 14.77 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003296/1.463, allocations: 39.39 kB / 1 GB, free: 14.74 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004944/1.464, allocations: 164.5 kB / 1 GB, free: 14.57 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003037/1.464, allocations: 0.7139 MB / 1.001 GB, free: 13.83 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001869/1.464, allocations: 45.81 kB / 1.001 GB, free: 13.78 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.217e-05/1.464, allocations: 19.44 kB / 1.001 GB, free: 13.76 MB / 0.6355 GB Notification: Performance of SimCode: time 1.633e-06/1.464, allocations: 0 / 1.001 GB, free: 13.76 MB / 0.6355 GB Notification: Performance of Templates: time 0.006389/1.471, allocations: 2.931 MB / 1.004 GB, free: 10.86 MB / 0.6355 GB 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)