Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT") translateModel(BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.0007443/0.0007444, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005712/0.005712, allocations: 172.2 kB / 16.27 MB, free: 6.66 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.318/1.318, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001768/0.001768, allocations: 267 kB / 291.7 MB, free: 1.879 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9284/0.9284, allocations: 169.5 MB / 0.5004 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000422/0.000422, allocations: 15.91 kB / 0.5987 GB, free: 28.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1672/0.1677, allocations: 88.54 MB / 0.6851 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01573/0.1834, allocations: 13.35 MB / 0.6982 GB, free: 1.711 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002892/0.1864, allocations: 2.648 MB / 0.7007 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.843e-05/0.1865, allocations: 4 kB / 0.7007 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002501/0.1868, allocations: 35.8 kB / 0.7008 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002717/0.187, allocations: 91.48 kB / 0.7009 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001199/0.1883, allocations: 466.8 kB / 0.7013 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003172/0.1886, allocations: 311.8 kB / 0.7016 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.796e-05/0.1886, allocations: 9.562 kB / 0.7016 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00794/0.1966, allocations: 3.14 MB / 0.7047 GB, free: 11 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002241/0.1968, allocations: 95.66 kB / 0.7048 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.528e-05/0.1969, allocations: 8 kB / 0.7048 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002621/0.1995, allocations: 0.9863 MB / 0.7057 GB, free: 9.91 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.299e-05/0.1996, allocations: 39.83 kB / 0.7058 GB, free: 9.871 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001253/0.1997, allocations: 105.3 kB / 0.7059 GB, free: 9.762 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008512/0.2006, allocations: 367 kB / 0.7062 GB, free: 9.402 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.2006, allocations: 4 kB / 0.7062 GB, free: 9.398 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.254e-06/0.2006, allocations: 3.938 kB / 0.7062 GB, free: 9.395 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.2006, allocations: 0 / 0.7062 GB, free: 9.395 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.0007053/0.2013, allocations: 471.3 kB / 0.7067 GB, free: 8.887 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.2014, allocations: 8.031 kB / 0.7067 GB, free: 8.879 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001642/0.2015, allocations: 28.83 kB / 0.7067 GB, free: 8.852 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002301/0.2018, allocations: 220 kB / 0.7069 GB, free: 8.598 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.848e-05/0.2018, allocations: 8.703 kB / 0.7069 GB, free: 8.59 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.465e-05/0.2018, allocations: 16.38 kB / 0.707 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003625/0.2022, allocations: 248.8 kB / 0.7072 GB, free: 8.312 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/0.2022, allocations: 4 kB / 0.7072 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.271e-05/0.2023, allocations: 11.98 kB / 0.7072 GB, free: 8.297 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.667e-05/0.2023, allocations: 8 kB / 0.7072 GB, free: 8.289 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004744/0.2028, allocations: 431.3 kB / 0.7076 GB, free: 7.867 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001099/0.2039, allocations: 0.9644 MB / 0.7086 GB, free: 6.812 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002584/0.2041, allocations: 162.2 kB / 0.7087 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.96e-05/0.2043, allocations: 66.19 kB / 0.7088 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001332/0.2056, allocations: 1.833 MB / 0.7106 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.923e-05/0.2056, allocations: 34.56 kB / 0.7106 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 2.004e-06/0.2056, allocations: 0 / 0.7106 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0003388/0.206, allocations: 147.7 kB / 0.7108 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.73e-05/0.206, allocations: 63.27 kB / 0.7108 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001711/0.2062, allocations: 168.9 kB / 0.711 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.016e-05/0.2063, allocations: 29.7 kB / 0.711 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001199/0.2064, allocations: 143.8 kB / 0.7111 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.179e-05/0.2064, allocations: 51.3 kB / 0.7112 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.149e-05/0.2065, allocations: 25.7 kB / 0.7112 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.2066, allocations: 326.8 kB / 0.7115 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.803e-05/0.2067, allocations: 35.98 kB / 0.7116 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001498/0.2069, allocations: 142.9 kB / 0.7117 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002301/0.2071, allocations: 196.1 kB / 0.7119 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.2071, allocations: 0 / 0.7119 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003176/0.2074, allocations: 217.2 kB / 0.7121 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.2075, allocations: 8 kB / 0.7121 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.996e-06/0.2075, allocations: 4 kB / 0.7121 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.2075, allocations: 4 kB / 0.7121 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000173/0.2077, allocations: 63.78 kB / 0.7122 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.2077, allocations: 4 kB / 0.7122 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001137/0.2078, allocations: 31.69 kB / 0.7122 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.735e-05/0.2078, allocations: 8.312 kB / 0.7122 GB, free: 2.559 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.0001278/0.208, allocations: 145.7 kB / 0.7124 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.236e-05/0.208, allocations: 15.81 kB / 0.7124 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003234/0.2083, allocations: 158.9 kB / 0.7125 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.345e-05/0.2084, allocations: 7.938 kB / 0.7125 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.2084, allocations: 4 kB / 0.7125 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/0.2084, allocations: 3.938 kB / 0.7125 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002779/0.2087, allocations: 221.4 kB / 0.7127 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.2087, allocations: 0 / 0.7127 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.448e-05/0.2088, allocations: 27.98 kB / 0.7128 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.2088, allocations: 0 / 0.7128 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.472e-05/0.2088, allocations: 8 kB / 0.7128 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.047e-06/0.2088, allocations: 3.938 kB / 0.7128 GB, free: 1.914 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.2088, allocations: 0 / 0.7128 GB, free: 1.914 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002699/0.2091, allocations: 221.1 kB / 0.713 GB, free: 1.684 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.308e-05/0.2092, allocations: 108.9 kB / 0.7131 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.259e-05/0.2092, allocations: 0 / 0.7131 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002118/0.2095, allocations: 27.92 kB / 0.7131 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.573e-05/0.2095, allocations: 7.984 kB / 0.7131 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.218e-05/0.2095, allocations: 15.98 kB / 0.7131 GB, free: 1.508 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.848e-05/0.2096, allocations: 123.2 kB / 0.7133 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2096, allocations: 0 / 0.7133 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004051/0.21, allocations: 71.98 kB / 0.7133 GB, free: 1.32 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.0003628/0.2104, allocations: 183.1 kB / 0.7135 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000273/0.2107, allocations: 120.1 kB / 0.7136 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.2107, allocations: 0 / 0.7136 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.622e-05/0.2108, allocations: 49.12 kB / 0.7137 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004557/0.2112, allocations: 59.12 kB / 0.7137 GB, free: 0.9141 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006931/0.2119, allocations: 431.9 kB / 0.7141 GB, free: 484 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003028/0.2122, allocations: 0.7131 MB / 0.7148 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001709/0.2124, allocations: 49.73 kB / 0.7149 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.991e-05/0.2125, allocations: 31.38 kB / 0.7149 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of SimCode: time 5.71e-07/0.2125, allocations: 4 kB / 0.7149 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of Templates: time 0.007205/0.2197, allocations: 3.523 MB / 0.7184 GB, free: 12.17 MB / 0.5137 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.makefile (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.sim & ./BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1)