Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Examples.WaterProperties") translateModel(Annex60.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Examples.WaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00732/0.00732, allocations: 102.6 kB / 15.73 MB, free: 6.039 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.001418/0.001418, allocations: 190.7 kB / 16.67 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.545/1.545, allocations: 205.1 MB / 222.5 MB, free: 4.5 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4277/0.4277, allocations: 54.94 MB / 324.8 MB, free: 15.9 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002134/0.002134, allocations: 67.77 kB / 456.2 MB, free: 38.73 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1773/0.1795, allocations: 59.58 MB / 0.5037 GB, free: 9.887 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Examples.WaterProperties): time 0.006957/0.1865, allocations: 4.703 MB / 0.5083 GB, free: 6.062 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003281/0.1898, allocations: 2.652 MB / 0.5109 GB, free: 3.781 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001716/0.19, allocations: 0 / 0.5109 GB, free: 3.781 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003853/0.1905, allocations: 47.67 kB / 0.5109 GB, free: 3.734 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004291/0.1909, allocations: 95.41 kB / 0.511 GB, free: 3.641 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001532/0.1925, allocations: 453.9 kB / 0.5115 GB, free: 3.195 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003236/0.1928, allocations: 216 kB / 0.5117 GB, free: 2.984 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.34e-05/0.1929, allocations: 13.56 kB / 0.5117 GB, free: 2.973 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002652/0.1932, allocations: 111.5 kB / 0.5118 GB, free: 2.863 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001823/0.1933, allocations: 91.59 kB / 0.5119 GB, free: 2.773 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.346e-05/0.1934, allocations: 4 kB / 0.5119 GB, free: 2.77 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009365/0.1943, allocations: 351.4 kB / 0.5122 GB, free: 2.426 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.706e-05/0.1944, allocations: 31.89 kB / 0.5122 GB, free: 2.395 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000123/0.1946, allocations: 75.67 kB / 0.5123 GB, free: 2.32 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009592/0.1955, allocations: 343 kB / 0.5126 GB, free: 1.984 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.1956, allocations: 0 / 0.5126 GB, free: 1.984 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.496e-06/0.1956, allocations: 4 kB / 0.5127 GB, free: 1.98 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.716e-05/0.1956, allocations: 0 / 0.5127 GB, free: 1.98 MB / 382.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.0009708/0.1966, allocations: 0.4914 MB / 0.5131 GB, free: 1.438 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.56e-05/0.1966, allocations: 8.031 kB / 0.5131 GB, free: 1.43 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002378/0.1969, allocations: 16.84 kB / 0.5132 GB, free: 1.414 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003873/0.1973, allocations: 212 kB / 0.5134 GB, free: 1.168 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.275e-05/0.1973, allocations: 12.7 kB / 0.5134 GB, free: 1.156 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.88e-05/0.1974, allocations: 16.31 kB / 0.5134 GB, free: 1.141 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004904/0.1979, allocations: 261 kB / 0.5136 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.948e-05/0.1979, allocations: 0 / 0.5136 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.089e-05/0.1979, allocations: 8 kB / 0.5136 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-05/0.198, allocations: 4 kB / 0.5136 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005563/0.1985, allocations: 427.5 kB / 0.5141 GB, free: 444 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001625/0.2002, allocations: 1.008 MB / 0.515 GB, free: 15.33 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004339/0.2006, allocations: 168.5 kB / 0.5152 GB, free: 15.16 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001525/0.2008, allocations: 56.84 kB / 0.5153 GB, free: 15.1 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002028/0.2028, allocations: 1.829 MB / 0.517 GB, free: 12.91 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.904e-05/0.2029, allocations: 38.56 kB / 0.5171 GB, free: 12.86 MB / 398.1 MB Notification: Performance of pre-optimization done (n=15): time 2.766e-06/0.2029, allocations: 0 / 0.5171 GB, free: 12.86 MB / 398.1 MB Notification: Performance of matching and sorting (n=15): time 0.0005091/0.2034, allocations: 148.6 kB / 0.5172 GB, free: 12.71 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.934e-05/0.2035, allocations: 55.34 kB / 0.5173 GB, free: 12.65 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000248/0.2038, allocations: 167.2 kB / 0.5174 GB, free: 12.48 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.938e-05/0.2038, allocations: 29.7 kB / 0.5175 GB, free: 12.44 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001472/0.204, allocations: 139.8 kB / 0.5176 GB, free: 12.3 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.234e-05/0.2041, allocations: 47.3 kB / 0.5176 GB, free: 12.25 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001334/0.2042, allocations: 61.59 kB / 0.5177 GB, free: 12.19 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001827/0.2044, allocations: 326.8 kB / 0.518 GB, free: 11.86 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001043/0.2045, allocations: 35.97 kB / 0.518 GB, free: 11.82 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001965/0.2047, allocations: 142.7 kB / 0.5182 GB, free: 11.64 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003359/0.2051, allocations: 193.5 kB / 0.5184 GB, free: 11.4 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.2051, allocations: 0 / 0.5184 GB, free: 11.4 MB / 398.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004752/0.2056, allocations: 219.9 kB / 0.5186 GB, free: 11.18 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.373e-05/0.2056, allocations: 8.406 kB / 0.5186 GB, free: 11.17 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.475e-05/0.2056, allocations: 8 kB / 0.5186 GB, free: 11.16 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.879e-05/0.2057, allocations: 7.938 kB / 0.5186 GB, free: 11.16 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002441/0.2059, allocations: 55.86 kB / 0.5186 GB, free: 11.1 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.661e-05/0.206, allocations: 7.984 kB / 0.5187 GB, free: 11.09 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001679/0.2061, allocations: 23.75 kB / 0.5187 GB, free: 11.07 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.916e-05/0.2062, allocations: 16 kB / 0.5187 GB, free: 11.05 MB / 398.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 0.0001571/0.2063, allocations: 129.7 kB / 0.5188 GB, free: 10.92 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.371e-05/0.2064, allocations: 11.91 kB / 0.5188 GB, free: 10.91 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004304/0.2069, allocations: 162.8 kB / 0.519 GB, free: 10.74 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-05/0.2069, allocations: 11.92 kB / 0.519 GB, free: 10.73 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.328e-06/0.2069, allocations: 4 kB / 0.519 GB, free: 10.73 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.153e-06/0.2069, allocations: 0 / 0.519 GB, free: 10.73 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003484/0.2073, allocations: 213.5 kB / 0.5192 GB, free: 10.47 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.2073, allocations: 0 / 0.5192 GB, free: 10.47 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001271/0.2074, allocations: 27.98 kB / 0.5192 GB, free: 10.44 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.2075, allocations: 0 / 0.5192 GB, free: 10.44 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.583e-05/0.2075, allocations: 4 kB / 0.5192 GB, free: 10.44 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.08e-06/0.2075, allocations: 3.938 kB / 0.5192 GB, free: 10.43 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.2075, allocations: 4 kB / 0.5192 GB, free: 10.43 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003187/0.2078, allocations: 219.5 kB / 0.5194 GB, free: 10.2 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001247/0.208, allocations: 108.8 kB / 0.5196 GB, free: 10.07 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.461e-05/0.208, allocations: 0 / 0.5196 GB, free: 10.07 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002242/0.2082, allocations: 11.94 kB / 0.5196 GB, free: 10.06 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.856e-05/0.2083, allocations: 11.98 kB / 0.5196 GB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-05/0.2083, allocations: 11.98 kB / 0.5196 GB, free: 10.04 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001319/0.2085, allocations: 125.8 kB / 0.5197 GB, free: 9.918 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.2085, allocations: 0 / 0.5197 GB, free: 9.918 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00063/0.2091, allocations: 72 kB / 0.5198 GB, free: 9.848 MB / 398.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.0005085/0.2096, allocations: 175 kB / 0.5199 GB, free: 9.664 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004228/0.2101, allocations: 123 kB / 0.5201 GB, free: 9.547 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.2101, allocations: 0 / 0.5201 GB, free: 9.547 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000106/0.2102, allocations: 47.92 kB / 0.5201 GB, free: 9.5 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006769/0.2109, allocations: 48.89 kB / 0.5202 GB, free: 9.453 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00105/0.212, allocations: 339 kB / 0.5205 GB, free: 9.09 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004146/0.2124, allocations: 0.7128 MB / 0.5212 GB, free: 8.352 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002362/0.2126, allocations: 45.8 kB / 0.5212 GB, free: 8.305 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.883e-05/0.2127, allocations: 23.38 kB / 0.5212 GB, free: 8.281 MB / 398.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2127, allocations: 0 / 0.5212 GB, free: 8.281 MB / 398.1 MB Notification: Performance of Templates: time 0.0101/0.2228, allocations: 3.241 MB / 0.5244 GB, free: 5.066 MB / 398.1 MB make -j1 -f Annex60_1.0.0_Annex60.Media.Examples.WaterProperties.makefile (rm -f Annex60_1.0.0_Annex60.Media.Examples.WaterProperties.pipe ; mkfifo Annex60_1.0.0_Annex60.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Media.Examples.WaterProperties.pipe >> ../files/Annex60_1.0.0_Annex60.Media.Examples.WaterProperties.sim & ./Annex60_1.0.0_Annex60.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Media.Examples.WaterProperties.pipe 2>&1)