Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.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.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005106/0.005106, allocations: 102 kB / 15.73 MB, free: 6.438 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.001144/0.001144, allocations: 194.3 kB / 16.67 MB, free: 6.355 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.373/1.373, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002485/0.002485, allocations: 274.4 kB / 290.8 MB, free: 1.906 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9645/0.9645, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001756/0.001756, allocations: 103.8 kB / 0.6814 GB, free: 15.48 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1646/0.1663, allocations: 86.97 MB / 0.7664 GB, free: 8.434 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX): time 0.00308/0.1695, allocations: 1.487 MB / 0.7678 GB, free: 6.938 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.5404/0.7099, allocations: 132.1 MB / 0.8968 GB, free: 13.32 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.54e-05/0.71, allocations: 0 / 0.8968 GB, free: 13.32 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.369e-05/0.7101, allocations: 11.86 kB / 0.8968 GB, free: 13.31 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.344e-05/0.7102, allocations: 11.88 kB / 0.8968 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004064/0.7106, allocations: 67.36 kB / 0.8969 GB, free: 13.24 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001043/0.7107, allocations: 59.78 kB / 0.8969 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 9.825e-05/0.7108, allocations: 12 kB / 0.897 GB, free: 13.17 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 6.454e-05/0.7109, allocations: 19.92 kB / 0.897 GB, free: 13.15 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.437e-05/0.711, allocations: 27.91 kB / 0.897 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.697e-05/0.711, allocations: 4 kB / 0.897 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 9.232e-05/0.7111, allocations: 16.66 kB / 0.897 GB, free: 13.1 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.767e-05/0.7111, allocations: 11.92 kB / 0.897 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.595e-05/0.7112, allocations: 19.86 kB / 0.8971 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001485/0.7113, allocations: 60.38 kB / 0.8971 GB, free: 13.02 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.7113, allocations: 0 / 0.8971 GB, free: 13.02 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.052e-06/0.7113, allocations: 0 / 0.8971 GB, free: 13.02 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.7114, allocations: 0 / 0.8971 GB, free: 13.02 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005475/0.7119, allocations: 378 kB / 0.8975 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.712, allocations: 8.031 kB / 0.8975 GB, free: 12.6 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.458e-05/0.712, allocations: 4.938 kB / 0.8975 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001268/0.7121, allocations: 176.2 kB / 0.8977 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.7121, allocations: 8.312 kB / 0.8977 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.479e-05/0.7122, allocations: 8.375 kB / 0.8977 GB, free: 12.37 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002651/0.7124, allocations: 78.19 kB / 0.8977 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.894e-06/0.7125, allocations: 1.406 kB / 0.8977 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.7125, allocations: 3.938 kB / 0.8977 GB, free: 12.28 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.7125, allocations: 0 / 0.8977 GB, free: 12.28 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003035/0.7128, allocations: 71.92 kB / 0.8978 GB, free: 12.21 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003881/0.7132, allocations: 284.7 kB / 0.8981 GB, free: 11.88 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002034/0.7134, allocations: 54.53 kB / 0.8981 GB, free: 11.82 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001548/0.7136, allocations: 48.92 kB / 0.8982 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001684/0.7137, allocations: 89.09 kB / 0.8983 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.973e-05/0.7138, allocations: 30.56 kB / 0.8983 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.7138, allocations: 0 / 0.8983 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.0005621/0.7143, allocations: 133.5 kB / 0.8984 GB, free: 11.49 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.169e-05/0.7144, allocations: 51.41 kB / 0.8985 GB, free: 11.43 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.925e-05/0.7145, allocations: 117.8 kB / 0.8986 GB, free: 11.3 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.036e-05/0.7145, allocations: 29.64 kB / 0.8986 GB, free: 11.27 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.087e-05/0.7146, allocations: 92.05 kB / 0.8987 GB, free: 11.17 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.854e-05/0.7146, allocations: 7.891 kB / 0.8987 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.727e-05/0.7146, allocations: 17.72 kB / 0.8987 GB, free: 11.14 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001054/0.7148, allocations: 322.8 kB / 0.899 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001574/0.7149, allocations: 31.95 kB / 0.8991 GB, free: 10.79 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000132/0.7151, allocations: 27.97 kB / 0.8991 GB, free: 10.76 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002706/0.7153, allocations: 73.06 kB / 0.8992 GB, free: 10.68 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.7153, allocations: 3.938 kB / 0.8992 GB, free: 10.68 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003235/0.7157, allocations: 105.5 kB / 0.8993 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.7157, allocations: 4 kB / 0.8993 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.7157, allocations: 0 / 0.8993 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.7157, allocations: 0 / 0.8993 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001219/0.7159, allocations: 23.97 kB / 0.8993 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.73e-06/0.7159, allocations: 0 / 0.8993 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.243e-05/0.716, allocations: 15.92 kB / 0.8993 GB, free: 10.53 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.287e-06/0.716, allocations: 0 / 0.8993 GB, free: 10.53 MB / 0.6544 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 7.372e-05/0.716, allocations: 122.4 kB / 0.8994 GB, free: 10.4 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.735e-05/0.7161, allocations: 0 / 0.8994 GB, free: 10.4 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003659/0.7165, allocations: 111.6 kB / 0.8995 GB, free: 10.28 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.7165, allocations: 4 kB / 0.8995 GB, free: 10.28 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.7165, allocations: 0 / 0.8995 GB, free: 10.28 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.7165, allocations: 3.984 kB / 0.8995 GB, free: 10.27 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001663/0.7167, allocations: 173.5 kB / 0.8997 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.7167, allocations: 0 / 0.8997 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001024/0.7168, allocations: 24.78 kB / 0.8997 GB, free: 10.03 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.7168, allocations: 0 / 0.8997 GB, free: 10.03 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.7168, allocations: 4 kB / 0.8997 GB, free: 10.03 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.7168, allocations: 0 / 0.8997 GB, free: 10.03 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.7168, allocations: 0 / 0.8997 GB, free: 10.03 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003725/0.7172, allocations: 195.4 kB / 0.8999 GB, free: 9.82 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.04e-05/0.7172, allocations: 81.02 kB / 0.9 GB, free: 9.723 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.009e-05/0.7173, allocations: 14.11 kB / 0.9 GB, free: 9.711 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001065/0.7174, allocations: 11.98 kB / 0.9 GB, free: 9.699 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.932e-05/0.7174, allocations: 0 / 0.9 GB, free: 9.699 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.154e-06/0.7175, allocations: 4 kB / 0.9 GB, free: 9.695 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 6.349e-05/0.7175, allocations: 92.69 kB / 0.9001 GB, free: 9.605 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.1e-07/0.7175, allocations: 0 / 0.9001 GB, free: 9.605 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002397/0.7178, allocations: 20 kB / 0.9001 GB, free: 9.586 MB / 0.6544 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.0001682/0.7179, allocations: 111.3 kB / 0.9002 GB, free: 9.469 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003576/0.7183, allocations: 63.92 kB / 0.9003 GB, free: 9.406 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.7183, allocations: 4 kB / 0.9003 GB, free: 9.402 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001635/0.7185, allocations: 43.83 kB / 0.9003 GB, free: 9.359 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003379/0.7188, allocations: 15.94 kB / 0.9004 GB, free: 9.344 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003733/0.7192, allocations: 153.6 kB / 0.9005 GB, free: 9.168 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003147/0.7195, allocations: 0.6815 MB / 0.9012 GB, free: 8.461 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 5.368e-05/0.7196, allocations: 7.984 kB / 0.9012 GB, free: 8.453 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.583e-05/0.7197, allocations: 11.44 kB / 0.9012 GB, free: 8.441 MB / 0.6544 GB Notification: Performance of SimCode: time 3.3e-07/0.7197, allocations: 7.938 kB / 0.9012 GB, free: 8.434 MB / 0.6544 GB Notification: Performance of Templates: time 0.003572/0.7233, allocations: 1 MB / 0.9022 GB, free: 7.453 MB / 0.6544 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1)