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.001553/0.001553, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001403/0.001403, allocations: 196.8 kB / 16.14 MB, free: 6.719 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.352/1.352, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9518/0.9518, allocations: 135.1 MB / 425.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 72.03 kB / 0.5047 GB, free: 5.742 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1985/0.1998, allocations: 80.92 MB / 0.5837 GB, free: 4.992 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterProperties): time 0.006296/0.2061, allocations: 4.75 MB / 0.5883 GB, free: 208 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002978/0.2091, allocations: 2.73 MB / 0.591 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001098/0.2093, allocations: 0 / 0.591 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003288/0.2097, allocations: 39.75 kB / 0.591 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003294/0.21, allocations: 95.47 kB / 0.5911 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001339/0.2114, allocations: 456.9 kB / 0.5916 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003004/0.2117, allocations: 303.8 kB / 0.5918 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.787e-05/0.2117, allocations: 13.56 kB / 0.5919 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002077/0.212, allocations: 111.5 kB / 0.592 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001397/0.2121, allocations: 91.66 kB / 0.592 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.493e-05/0.2121, allocations: 8 kB / 0.5921 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007439/0.2129, allocations: 371.2 kB / 0.5924 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.014e-05/0.213, allocations: 39.89 kB / 0.5924 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.08e-05/0.2131, allocations: 83.58 kB / 0.5925 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005352/0.2136, allocations: 355.4 kB / 0.5929 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.2136, allocations: 3.984 kB / 0.5929 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of FrontEnd: time 8.82e-07/0.2136, allocations: 4 kB / 0.5929 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.069e-06/0.2137, allocations: 0 / 0.5929 GB, free: 11.53 MB / 0.4981 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.0007588/0.2144, allocations: 0.4993 MB / 0.5934 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.2145, allocations: 12.03 kB / 0.5934 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001601/0.2146, allocations: 20.75 kB / 0.5934 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002132/0.2149, allocations: 212 kB / 0.5936 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/0.2149, allocations: 12.7 kB / 0.5936 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.12e-05/0.2149, allocations: 20.36 kB / 0.5936 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003952/0.2153, allocations: 248.2 kB / 0.5939 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.2153, allocations: 0 / 0.5939 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.818e-05/0.2154, allocations: 15.98 kB / 0.5939 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.64e-05/0.2154, allocations: 7.984 kB / 0.5939 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004619/0.2159, allocations: 423.5 kB / 0.5943 GB, free: 9.977 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001178/0.2171, allocations: 0.9526 MB / 0.5952 GB, free: 8.934 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002792/0.2174, allocations: 163.3 kB / 0.5954 GB, free: 8.77 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001014/0.2175, allocations: 60.89 kB / 0.5954 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001366/0.2188, allocations: 1.821 MB / 0.5972 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.324e-05/0.2189, allocations: 46.5 kB / 0.5973 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.353e-06/0.2189, allocations: 0 / 0.5973 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0003313/0.2192, allocations: 149.4 kB / 0.5974 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.833e-05/0.2193, allocations: 59.34 kB / 0.5975 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001598/0.2194, allocations: 162.6 kB / 0.5976 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.456e-05/0.2195, allocations: 29.7 kB / 0.5976 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.085e-05/0.2196, allocations: 143.8 kB / 0.5978 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.875e-05/0.2196, allocations: 51.2 kB / 0.5978 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.898e-05/0.2197, allocations: 53.61 kB / 0.5979 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.2198, allocations: 322.8 kB / 0.5982 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.722e-05/0.2199, allocations: 43.91 kB / 0.5982 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001258/0.22, allocations: 139.2 kB / 0.5984 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002157/0.2202, allocations: 200.4 kB / 0.5986 GB, free: 5 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.2203, allocations: 4 kB / 0.5986 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003022/0.2206, allocations: 217.1 kB / 0.5988 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.2206, allocations: 4 kB / 0.5988 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.2206, allocations: 4.469 kB / 0.5988 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.2206, allocations: 12 kB / 0.5988 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001686/0.2208, allocations: 55.86 kB / 0.5988 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.238e-05/0.2208, allocations: 7.984 kB / 0.5988 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001118/0.2209, allocations: 31.69 kB / 0.5989 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.664e-05/0.221, allocations: 8 kB / 0.5989 GB, free: 4.656 MB / 0.4981 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 () * 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.0001205/0.2211, allocations: 134.4 kB / 0.599 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.882e-05/0.2211, allocations: 23.75 kB / 0.599 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000296/0.2214, allocations: 158 kB / 0.5992 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-05/0.2215, allocations: 7.938 kB / 0.5992 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.2215, allocations: 0 / 0.5992 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.2215, allocations: 0 / 0.5992 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002376/0.2217, allocations: 221.4 kB / 0.5994 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.2217, allocations: 0 / 0.5994 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.554e-05/0.2218, allocations: 20 kB / 0.5994 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.2218, allocations: 7.875 kB / 0.5994 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.2219, allocations: 7.984 kB / 0.5994 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.2219, allocations: 7.938 kB / 0.5994 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2219, allocations: 0 / 0.5994 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002339/0.2221, allocations: 223.3 kB / 0.5997 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.249e-05/0.2222, allocations: 104.9 kB / 0.5998 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.787e-05/0.2222, allocations: 7.984 kB / 0.5998 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001959/0.2224, allocations: 19.92 kB / 0.5998 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.249e-05/0.2225, allocations: 4 kB / 0.5998 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.201e-05/0.2225, allocations: 15.98 kB / 0.5998 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.247e-05/0.2226, allocations: 120.7 kB / 0.5999 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2226, allocations: 0 / 0.5999 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003874/0.223, allocations: 79.92 kB / 0.6 GB, free: 3.418 MB / 0.4981 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 () * 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.0004227/0.2234, allocations: 175.1 kB / 0.6002 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002366/0.2237, allocations: 127.7 kB / 0.6003 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.2237, allocations: 0 / 0.6003 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.679e-05/0.2237, allocations: 39.98 kB / 0.6003 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004532/0.2242, allocations: 61.73 kB / 0.6004 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007356/0.2249, allocations: 384.4 kB / 0.6007 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002719/0.2252, allocations: 0.717 MB / 0.6014 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001608/0.2254, allocations: 41.92 kB / 0.6015 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.042e-05/0.2254, allocations: 19.44 kB / 0.6015 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of SimCode: time 1.91e-07/0.2254, allocations: 0 / 0.6015 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of Templates: time 0.2957/0.5212, allocations: 3.303 MB / 0.6047 GB, free: 53.22 MB / 0.4981 GB 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)