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/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/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/Annex60 1.0.0/package.mo): time 0.2837/0.2837, allocations: 54.34 MB / 66.9 MB, free: 6.082 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001066/0.001067, allocations: 176.5 kB / 80.7 MB, free: 15.4 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.802/1.802, allocations: 194.2 MB / 288.6 MB, free: 14.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001864/0.001864, allocations: 121.9 kB / 346.9 MB, free: 4.707 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.43e-05/3.433e-05, allocations: 0 / 412.4 MB, free: 21.48 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1393/0.1393, allocations: 57.65 MB / 470 MB, free: 11.77 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.041/1.181, allocations: 322.7 MB / 0.7741 GB, free: 55.88 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002695/1.181, allocations: 69.34 kB / 0.7742 GB, free: 55.84 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03843/1.22, allocations: 18.76 MB / 0.7925 GB, free: 39.53 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.583e-06/1.22, allocations: 0 / 0.7925 GB, free: 39.53 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.015e-06/1.22, allocations: 4 kB / 0.7925 GB, free: 39.53 MB / 490.7 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.0005699/1.22, allocations: 467.1 kB / 0.793 GB, free: 39.02 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/1.22, allocations: 12.03 kB / 0.793 GB, free: 39.01 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001318/1.22, allocations: 19.81 kB / 0.793 GB, free: 38.99 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001724/1.221, allocations: 206.9 kB / 0.7932 GB, free: 38.75 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/1.221, allocations: 12.33 kB / 0.7932 GB, free: 38.74 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.275e-05/1.221, allocations: 16 kB / 0.7932 GB, free: 38.72 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003227/1.221, allocations: 241.5 kB / 0.7934 GB, free: 38.46 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/1.221, allocations: 0 / 0.7934 GB, free: 38.46 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.219e-05/1.221, allocations: 15.94 kB / 0.7935 GB, free: 38.45 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.501e-05/1.221, allocations: 15.97 kB / 0.7935 GB, free: 38.43 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003731/1.221, allocations: 431.4 kB / 0.7939 GB, free: 38.01 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008053/1.222, allocations: 1.023 MB / 0.7949 GB, free: 36.89 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002537/1.222, allocations: 152 kB / 0.795 GB, free: 36.74 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.082e-05/1.223, allocations: 60.89 kB / 0.7951 GB, free: 36.68 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001036/1.224, allocations: 1.927 MB / 0.797 GB, free: 34.39 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.073e-05/1.224, allocations: 30.56 kB / 0.797 GB, free: 34.35 MB / 490.7 MB Notification: Performance of pre-optimization done (n=15): time 1.383e-06/1.224, allocations: 0 / 0.797 GB, free: 34.35 MB / 490.7 MB Notification: Performance of matching and sorting (n=15): time 0.0002687/1.224, allocations: 114.5 kB / 0.7971 GB, free: 34.23 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.856e-05/1.224, allocations: 55.41 kB / 0.7972 GB, free: 34.17 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001181/1.224, allocations: 158.3 kB / 0.7973 GB, free: 34 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/1.224, allocations: 25.7 kB / 0.7973 GB, free: 33.97 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.859e-05/1.224, allocations: 147.7 kB / 0.7975 GB, free: 33.82 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.892e-05/1.224, allocations: 55.25 kB / 0.7975 GB, free: 33.77 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.075e-06/1.224, allocations: 4 kB / 0.7975 GB, free: 33.76 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.567e-05/1.224, allocations: 330.7 kB / 0.7978 GB, free: 33.43 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.66e-05/1.224, allocations: 35.94 kB / 0.7979 GB, free: 33.39 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.858e-05/1.224, allocations: 138.7 kB / 0.798 GB, free: 33.21 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.079e-05/1.225, allocations: 69.11 kB / 0.7981 GB, free: 33.14 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/1.225, allocations: 0 / 0.7981 GB, free: 33.14 MB / 490.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002729/1.225, allocations: 200.9 kB / 0.7983 GB, free: 32.95 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/1.225, allocations: 8 kB / 0.7983 GB, free: 32.94 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.852e-06/1.225, allocations: 8.031 kB / 0.7983 GB, free: 32.93 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/1.225, allocations: 4 kB / 0.7983 GB, free: 32.93 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001613/1.225, allocations: 59.91 kB / 0.7983 GB, free: 32.87 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.308e-05/1.225, allocations: 11.94 kB / 0.7984 GB, free: 32.86 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001031/1.225, allocations: 27.69 kB / 0.7984 GB, free: 32.83 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.817e-05/1.225, allocations: 15.98 kB / 0.7984 GB, free: 32.81 MB / 490.7 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 () * 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 6.799e-05/1.225, allocations: 124.8 kB / 0.7985 GB, free: 32.68 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.596e-05/1.225, allocations: 15.81 kB / 0.7985 GB, free: 32.67 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002604/1.226, allocations: 159 kB / 0.7987 GB, free: 32.51 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.718e-06/1.226, allocations: 0 / 0.7987 GB, free: 32.51 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/1.226, allocations: 3.938 kB / 0.7987 GB, free: 32.5 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/1.226, allocations: 0 / 0.7987 GB, free: 32.5 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001751/1.226, allocations: 217.5 kB / 0.7989 GB, free: 32.24 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/1.226, allocations: 0 / 0.7989 GB, free: 32.24 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.786e-05/1.226, allocations: 27.98 kB / 0.7989 GB, free: 32.21 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/1.226, allocations: 4 kB / 0.7989 GB, free: 32.21 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.467e-06/1.226, allocations: 0 / 0.7989 GB, free: 32.21 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/1.226, allocations: 4 kB / 0.7989 GB, free: 32.21 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/1.226, allocations: 0 / 0.7989 GB, free: 32.21 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000188/1.226, allocations: 227.2 kB / 0.7991 GB, free: 31.97 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.655e-05/1.226, allocations: 112.9 kB / 0.7993 GB, free: 31.84 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.163e-05/1.226, allocations: 3.984 kB / 0.7993 GB, free: 31.84 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001551/1.226, allocations: 11.98 kB / 0.7993 GB, free: 31.82 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.855e-05/1.226, allocations: 11.98 kB / 0.7993 GB, free: 31.81 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.479e-05/1.226, allocations: 8 kB / 0.7993 GB, free: 31.8 MB / 490.7 MB Notification: Performance of sorting global known variables: time 5.87e-05/1.227, allocations: 124.9 kB / 0.7994 GB, free: 31.68 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.6e-07/1.227, allocations: 3.938 kB / 0.7994 GB, free: 31.68 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003368/1.227, allocations: 75.94 kB / 0.7995 GB, free: 31.61 MB / 490.7 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 () * 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.0002599/1.227, allocations: 187.1 kB / 0.7997 GB, free: 31.41 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001824/1.227, allocations: 120 kB / 0.7998 GB, free: 31.3 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/1.227, allocations: 4.062 kB / 0.7998 GB, free: 31.3 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 4.961e-05/1.227, allocations: 47.86 kB / 0.7998 GB, free: 31.25 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003208/1.228, allocations: 43.92 kB / 0.7999 GB, free: 31.21 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004055/1.228, allocations: 170.3 kB / 0.8 GB, free: 31.02 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001568/1.228, allocations: 0.717 MB / 0.8007 GB, free: 30.28 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001502/1.228, allocations: 41.94 kB / 0.8008 GB, free: 30.23 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.473e-05/1.229, allocations: 27.42 kB / 0.8008 GB, free: 30.21 MB / 490.7 MB Notification: Performance of SimCode: time 2.4e-07/1.229, allocations: 4 kB / 0.8008 GB, free: 30.2 MB / 490.7 MB Notification: Performance of Templates: time 0.00583/1.234, allocations: 3.314 MB / 0.804 GB, free: 26.91 MB / 490.7 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)