Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.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.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT") translateModel(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009302/0.009302, allocations: 99.34 kB / 15.73 MB, free: 6.035 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.001784/0.001784, allocations: 195.8 kB / 16.67 MB, free: 5.961 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.503/1.503, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.018/1.018, allocations: 135.1 MB / 425.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00117/0.00117, allocations: 71.88 kB / 0.5857 GB, free: 3.277 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4957/0.4969, allocations: 80.9 MB / 0.6647 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01457/0.5115, allocations: 12.98 MB / 0.6774 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003028/0.5146, allocations: 2.665 MB / 0.68 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001175/0.5147, allocations: 1.281 kB / 0.68 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003042/0.5151, allocations: 47.28 kB / 0.68 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.000357/0.5155, allocations: 103.2 kB / 0.6801 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001658/0.5171, allocations: 0.5041 MB / 0.6806 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003888/0.5175, allocations: 232.4 kB / 0.6808 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.714e-05/0.5176, allocations: 14.94 kB / 0.6808 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009841/0.5274, allocations: 3.578 MB / 0.6843 GB, free: 8.098 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002808/0.5277, allocations: 92.03 kB / 0.6844 GB, free: 8.043 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 5.102e-05/0.5278, allocations: 11.94 kB / 0.6844 GB, free: 8.039 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003443/0.5313, allocations: 1.072 MB / 0.6855 GB, free: 7.461 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 8.886e-05/0.5314, allocations: 35.08 kB / 0.6855 GB, free: 7.438 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001629/0.5315, allocations: 83.55 kB / 0.6856 GB, free: 7.391 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.00122/0.5328, allocations: 371.9 kB / 0.686 GB, free: 7.184 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.5328, allocations: 4 kB / 0.686 GB, free: 7.18 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.713e-06/0.5328, allocations: 0 / 0.686 GB, free: 7.18 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.017e-05/0.5328, allocations: 1.031 kB / 0.686 GB, free: 7.18 MB / 0.5137 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.001017/0.5338, allocations: 0.5051 MB / 0.6865 GB, free: 6.699 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.5339, allocations: 9.406 kB / 0.6865 GB, free: 6.699 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002165/0.5341, allocations: 26.08 kB / 0.6865 GB, free: 6.688 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003314/0.5344, allocations: 217.7 kB / 0.6867 GB, free: 6.449 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.86e-05/0.5345, allocations: 10.58 kB / 0.6867 GB, free: 6.445 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.484e-05/0.5345, allocations: 19.22 kB / 0.6867 GB, free: 6.438 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003988/0.5349, allocations: 245.4 kB / 0.687 GB, free: 6.266 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.5349, allocations: 0 / 0.687 GB, free: 6.266 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.448e-05/0.5349, allocations: 8.125 kB / 0.687 GB, free: 6.262 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.926e-05/0.535, allocations: 9.359 kB / 0.687 GB, free: 6.258 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005338/0.5355, allocations: 432.4 kB / 0.6874 GB, free: 6.062 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001131/0.5367, allocations: 0.9651 MB / 0.6883 GB, free: 5.117 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002999/0.537, allocations: 166.4 kB / 0.6885 GB, free: 5.035 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001047/0.5371, allocations: 63.66 kB / 0.6885 GB, free: 5.004 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001384/0.5385, allocations: 1.827 MB / 0.6903 GB, free: 2.906 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.468e-05/0.5385, allocations: 37.62 kB / 0.6904 GB, free: 2.863 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=15): time 2.815e-06/0.5385, allocations: 7.984 kB / 0.6904 GB, free: 2.855 MB / 0.5137 GB Notification: Performance of matching and sorting (n=15): time 0.0003701/0.5389, allocations: 149.2 kB / 0.6905 GB, free: 2.773 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.893e-05/0.539, allocations: 57.34 kB / 0.6906 GB, free: 2.707 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001684/0.5391, allocations: 166.8 kB / 0.6907 GB, free: 2.57 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.652e-05/0.5392, allocations: 31.7 kB / 0.6908 GB, free: 2.535 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.5393, allocations: 148.3 kB / 0.6909 GB, free: 2.395 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.995e-05/0.5393, allocations: 53.59 kB / 0.691 GB, free: 2.348 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.934e-05/0.5394, allocations: 53.53 kB / 0.691 GB, free: 2.309 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.5395, allocations: 330.4 kB / 0.6913 GB, free: 1.98 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.917e-05/0.5396, allocations: 37.53 kB / 0.6914 GB, free: 1.965 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001455/0.5398, allocations: 134.8 kB / 0.6915 GB, free: 1.816 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002655/0.54, allocations: 203.8 kB / 0.6917 GB, free: 1.625 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.5401, allocations: 1.094 kB / 0.6917 GB, free: 1.625 MB / 0.5137 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003504/0.5404, allocations: 215.1 kB / 0.6919 GB, free: 1.512 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.5404, allocations: 6.531 kB / 0.6919 GB, free: 1.512 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.5404, allocations: 4.188 kB / 0.6919 GB, free: 1.512 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.247e-05/0.5405, allocations: 9.156 kB / 0.6919 GB, free: 1.508 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001916/0.5407, allocations: 65.38 kB / 0.692 GB, free: 1.484 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.232e-05/0.5407, allocations: 8.625 kB / 0.692 GB, free: 1.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001156/0.5408, allocations: 28.38 kB / 0.692 GB, free: 1.461 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.482e-05/0.5409, allocations: 19.22 kB / 0.692 GB, free: 1.453 MB / 0.5137 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.0001131/0.541, allocations: 127.2 kB / 0.6921 GB, free: 1.328 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.347e-05/0.541, allocations: 16.31 kB / 0.6922 GB, free: 1.32 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003303/0.5414, allocations: 156.2 kB / 0.6923 GB, free: 1.223 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.43e-05/0.5414, allocations: 10.56 kB / 0.6923 GB, free: 1.215 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.5414, allocations: 0 / 0.6923 GB, free: 1.215 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.5414, allocations: 0 / 0.6923 GB, free: 1.215 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002591/0.5417, allocations: 222.2 kB / 0.6925 GB, free: 0.9766 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.5417, allocations: 0 / 0.6925 GB, free: 0.9766 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9e-05/0.5418, allocations: 20.41 kB / 0.6925 GB, free: 0.9766 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.5418, allocations: 0 / 0.6925 GB, free: 0.9766 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.592e-05/0.5418, allocations: 10.27 kB / 0.6926 GB, free: 0.9688 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.958e-06/0.5418, allocations: 5.219 kB / 0.6926 GB, free: 0.9648 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.5418, allocations: 0 / 0.6926 GB, free: 0.9648 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002813/0.5421, allocations: 224.2 kB / 0.6928 GB, free: 0.7852 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.085e-05/0.5422, allocations: 110.3 kB / 0.6929 GB, free: 0.668 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.915e-05/0.5423, allocations: 5.219 kB / 0.6929 GB, free: 0.6641 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001958/0.5425, allocations: 15.89 kB / 0.6929 GB, free: 0.6562 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.893e-05/0.5425, allocations: 12.3 kB / 0.6929 GB, free: 0.6484 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.133e-05/0.5425, allocations: 7.031 kB / 0.6929 GB, free: 0.6484 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 9.098e-05/0.5426, allocations: 119.5 kB / 0.693 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5426, allocations: 4 kB / 0.693 GB, free: 0.5508 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004139/0.543, allocations: 86.41 kB / 0.6931 GB, free: 0.5234 MB / 0.5137 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.0003138/0.5434, allocations: 184.8 kB / 0.6933 GB, free: 404 kB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002505/0.5436, allocations: 113.8 kB / 0.6934 GB, free: 364 kB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.5436, allocations: 0 / 0.6934 GB, free: 364 kB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 7.178e-05/0.5437, allocations: 52.38 kB / 0.6935 GB, free: 344 kB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004624/0.5442, allocations: 64.16 kB / 0.6935 GB, free: 304 kB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007465/0.5449, allocations: 340.8 kB / 0.6938 GB, free: 72 kB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002824/0.5452, allocations: 0.7148 MB / 0.6945 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.000165/0.5454, allocations: 47.56 kB / 0.6946 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.874e-05/0.5455, allocations: 29.77 kB / 0.6946 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of SimCode: time 2.31e-07/0.5455, allocations: 0 / 0.6946 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of Templates: time 0.007917/0.5534, allocations: 3.636 MB / 0.6982 GB, free: 13.46 MB / 0.5294 GB make -j1 -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.makefile (rm -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.sim & ./IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1)