Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.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.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX") translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001724/0.001724, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001922/0.001922, allocations: 192.8 kB / 16.25 MB, free: 6.641 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.472/1.472, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00255/0.002549, allocations: 294.7 kB / 290.4 MB, free: 2.148 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.064/1.064, allocations: 178.6 MB / 0.5069 GB, free: 4.762 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00292/0.00292, allocations: 99.62 kB / 0.6059 GB, free: 25.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1615/0.1645, allocations: 89.15 MB / 0.693 GB, free: 4.734 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002496/0.167, allocations: 1.336 MB / 0.6943 GB, free: 3.395 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4787/0.6457, allocations: 130.1 MB / 0.8213 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.524e-05/0.6457, allocations: 0 / 0.8213 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.978e-05/0.6458, allocations: 0 / 0.8213 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.57e-05/0.6459, allocations: 7.703 kB / 0.8213 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003552/0.6462, allocations: 49.72 kB / 0.8213 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.175e-05/0.6463, allocations: 24.94 kB / 0.8214 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.688e-05/0.6463, allocations: 4 kB / 0.8214 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.88e-05/0.6464, allocations: 14.2 kB / 0.8214 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.82e-05/0.6464, allocations: 6.719 kB / 0.8214 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.141e-05/0.6465, allocations: 0 / 0.8214 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 6.831e-05/0.6465, allocations: 13.52 kB / 0.8214 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.518e-05/0.6466, allocations: 8.062 kB / 0.8214 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.543e-05/0.6466, allocations: 8.375 kB / 0.8214 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 9.481e-05/0.6467, allocations: 30.81 kB / 0.8215 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.6467, allocations: 0 / 0.8215 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.743e-06/0.6467, allocations: 1.312 kB / 0.8215 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.6467, allocations: 4 kB / 0.8215 GB, free: 10.35 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004017/0.6471, allocations: 336.2 kB / 0.8218 GB, free: 9.992 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.209e-05/0.6472, allocations: 9.562 kB / 0.8218 GB, free: 9.992 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.402e-05/0.6472, allocations: 6.125 kB / 0.8218 GB, free: 9.988 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001251/0.6473, allocations: 161.6 kB / 0.8219 GB, free: 9.793 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.01e-05/0.6474, allocations: 35.48 kB / 0.822 GB, free: 9.758 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.158e-05/0.6474, allocations: 1.625 kB / 0.822 GB, free: 9.758 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001247/0.6476, allocations: 42.03 kB / 0.822 GB, free: 9.719 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.6476, allocations: 7.906 kB / 0.822 GB, free: 9.715 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.535e-06/0.6476, allocations: 0 / 0.822 GB, free: 9.715 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.6476, allocations: 0 / 0.822 GB, free: 9.715 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.907e-05/0.6477, allocations: 14.72 kB / 0.822 GB, free: 9.711 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001603/0.6479, allocations: 151.6 kB / 0.8222 GB, free: 9.52 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 9.961e-05/0.648, allocations: 35.3 kB / 0.8222 GB, free: 9.488 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.177e-05/0.648, allocations: 18.55 kB / 0.8222 GB, free: 9.477 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001645/0.6482, allocations: 89.23 kB / 0.8223 GB, free: 9.383 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.13e-05/0.6482, allocations: 44.16 kB / 0.8224 GB, free: 9.332 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.6482, allocations: 0 / 0.8224 GB, free: 9.332 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0002144/0.6485, allocations: 58.92 kB / 0.8224 GB, free: 9.293 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.402e-05/0.6485, allocations: 51.41 kB / 0.8225 GB, free: 9.23 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.957e-05/0.6486, allocations: 97.73 kB / 0.8226 GB, free: 9.129 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.711e-05/0.6486, allocations: 32.36 kB / 0.8226 GB, free: 9.094 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.073e-05/0.6487, allocations: 85.45 kB / 0.8227 GB, free: 9.008 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.762e-05/0.6487, allocations: 13.34 kB / 0.8227 GB, free: 8.996 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.953e-05/0.6487, allocations: 12.09 kB / 0.8227 GB, free: 8.98 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001296/0.6489, allocations: 318.1 kB / 0.823 GB, free: 8.664 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.388e-05/0.6489, allocations: 4.438 kB / 0.823 GB, free: 8.664 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.39e-05/0.649, allocations: 6.812 kB / 0.823 GB, free: 8.664 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.35e-05/0.6491, allocations: 30.06 kB / 0.823 GB, free: 8.645 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.6491, allocations: 0 / 0.823 GB, free: 8.645 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000117/0.6492, allocations: 50.92 kB / 0.8231 GB, free: 8.609 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.6492, allocations: 9.375 kB / 0.8231 GB, free: 8.605 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.6492, allocations: 0 / 0.8231 GB, free: 8.605 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.6492, allocations: 1.062 kB / 0.8231 GB, free: 8.605 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.14e-05/0.6493, allocations: 5.031 kB / 0.8231 GB, free: 8.605 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.907e-06/0.6493, allocations: 0 / 0.8231 GB, free: 8.605 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.953e-05/0.6493, allocations: 7.438 kB / 0.8231 GB, free: 8.602 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.6494, allocations: 1.344 kB / 0.8231 GB, free: 8.602 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * Array equations: 0 * 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 8.472e-05/0.6494, allocations: 112.7 kB / 0.8232 GB, free: 8.484 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.138e-05/0.6495, allocations: 5.156 kB / 0.8232 GB, free: 8.48 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001549/0.6496, allocations: 57.81 kB / 0.8233 GB, free: 8.438 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.6496, allocations: 1.312 kB / 0.8233 GB, free: 8.438 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.6496, allocations: 0 / 0.8233 GB, free: 8.438 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.6496, allocations: 2.344 kB / 0.8233 GB, free: 8.438 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001202/0.6498, allocations: 156.9 kB / 0.8234 GB, free: 8.242 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.6498, allocations: 1.938 kB / 0.8234 GB, free: 8.242 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.143e-05/0.6498, allocations: 5.188 kB / 0.8234 GB, free: 8.242 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.6498, allocations: 6.375 kB / 0.8235 GB, free: 8.238 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.812e-06/0.6499, allocations: 1.031 kB / 0.8235 GB, free: 8.238 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.6499, allocations: 0 / 0.8235 GB, free: 8.238 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.6499, allocations: 1.875 kB / 0.8235 GB, free: 8.238 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001478/0.65, allocations: 83.94 kB / 0.8235 GB, free: 8.156 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.656e-05/0.6501, allocations: 86.45 kB / 0.8236 GB, free: 8.059 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.318e-05/0.6501, allocations: 3.938 kB / 0.8236 GB, free: 8.055 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.833e-05/0.6501, allocations: 1.281 kB / 0.8236 GB, free: 8.055 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.233e-05/0.6502, allocations: 3.312 kB / 0.8236 GB, free: 8.055 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-06/0.6502, allocations: 1.344 kB / 0.8236 GB, free: 8.055 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.319e-05/0.6502, allocations: 88.45 kB / 0.8237 GB, free: 7.973 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6502, allocations: 3.938 kB / 0.8237 GB, free: 7.969 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001851/0.6504, allocations: 9.281 kB / 0.8237 GB, free: 7.969 MB / 0.5606 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 (3): * Single equations (assignments): 3 * Array equations: 0 * 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.0001505/0.6506, allocations: 110 kB / 0.8238 GB, free: 7.875 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001435/0.6507, allocations: 24.97 kB / 0.8239 GB, free: 7.867 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.6507, allocations: 0 / 0.8239 GB, free: 7.867 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.511e-05/0.6508, allocations: 11.03 kB / 0.8239 GB, free: 7.867 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002373/0.651, allocations: 13.03 kB / 0.8239 GB, free: 7.863 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002958/0.6513, allocations: 133.9 kB / 0.824 GB, free: 7.738 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003157/0.6517, allocations: 0.6751 MB / 0.8247 GB, free: 7.043 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.213e-05/0.6517, allocations: 3.5 kB / 0.8247 GB, free: 7.043 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.223e-05/0.6517, allocations: 8.625 kB / 0.8247 GB, free: 7.035 MB / 0.5606 GB Notification: Performance of SimCode: time 2.61e-07/0.6518, allocations: 5.094 kB / 0.8247 GB, free: 7.031 MB / 0.5606 GB Notification: Performance of Templates: time 0.002944/0.6547, allocations: 0.4963 MB / 0.8252 GB, free: 6.961 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1)