Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX") translateModel(IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001486/0.001486, allocations: 112.2 kB / 17.03 MB, free: 5.656 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.001678/0.001678, allocations: 192.6 kB / 17.97 MB, free: 5.062 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.442/1.442, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7253/0.7253, allocations: 115.1 MB / 406.9 MB, free: 6.301 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 59.91 kB / 494.8 MB, free: 15.82 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3352/0.3364, allocations: 76.15 MB / 0.5576 GB, free: 36.53 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002224/0.3387, allocations: 1.267 MB / 0.5588 GB, free: 35.66 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1348/0.4736, allocations: 132 MB / 0.6877 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.756e-05/0.4736, allocations: 0 / 0.6877 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.2e-05/0.4737, allocations: 7.938 kB / 0.6877 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.177e-05/0.4737, allocations: 4 kB / 0.6877 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003368/0.4741, allocations: 62.53 kB / 0.6878 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.966e-05/0.4742, allocations: 15.92 kB / 0.6878 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.881e-05/0.4742, allocations: 4 kB / 0.6878 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.862e-05/0.4742, allocations: 14.72 kB / 0.6878 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.304e-05/0.4743, allocations: 4 kB / 0.6878 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.393e-05/0.4743, allocations: 0 / 0.6878 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.823e-05/0.4744, allocations: 23.86 kB / 0.6879 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.462e-05/0.4744, allocations: 3.938 kB / 0.6879 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.317e-05/0.4745, allocations: 8 kB / 0.6879 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 9.589e-05/0.4746, allocations: 33.73 kB / 0.6879 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.4746, allocations: 0 / 0.6879 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.343e-06/0.4746, allocations: 4 kB / 0.6879 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.938e-06/0.4746, allocations: 0 / 0.6879 GB, free: 14.59 MB / 0.5294 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.0003734/0.475, allocations: 331.4 kB / 0.6882 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.475, allocations: 12.02 kB / 0.6882 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.15e-05/0.475, allocations: 4.844 kB / 0.6882 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.878e-05/0.4751, allocations: 164.4 kB / 0.6884 GB, free: 14 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.173e-05/0.4752, allocations: 30.27 kB / 0.6884 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.254e-05/0.4752, allocations: 4.375 kB / 0.6884 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001107/0.4753, allocations: 42.19 kB / 0.6885 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.136e-06/0.4754, allocations: 3.938 kB / 0.6885 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.284e-06/0.4754, allocations: 0 / 0.6885 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.4754, allocations: 0 / 0.6885 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.666e-05/0.4755, allocations: 15.98 kB / 0.6885 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001438/0.4756, allocations: 157.7 kB / 0.6886 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 8.749e-05/0.4757, allocations: 34.61 kB / 0.6887 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.619e-05/0.4758, allocations: 8.859 kB / 0.6887 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001565/0.4759, allocations: 89.19 kB / 0.6888 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.313e-05/0.476, allocations: 30.56 kB / 0.6888 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.476, allocations: 3.938 kB / 0.6888 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0002139/0.4762, allocations: 69.61 kB / 0.6889 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.494e-05/0.4762, allocations: 51.41 kB / 0.6889 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.464e-05/0.4763, allocations: 102 kB / 0.689 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.396e-05/0.4763, allocations: 25.7 kB / 0.689 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.317e-05/0.4764, allocations: 80.14 kB / 0.6891 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.365e-05/0.4764, allocations: 15.83 kB / 0.6891 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.097e-05/0.4764, allocations: 17.62 kB / 0.6891 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001013/0.4765, allocations: 314.8 kB / 0.6894 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.744e-05/0.4766, allocations: 11.98 kB / 0.6895 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.519e-05/0.4766, allocations: 8 kB / 0.6895 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.136e-05/0.4767, allocations: 24.78 kB / 0.6895 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.4767, allocations: 0 / 0.6895 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001207/0.4769, allocations: 49.69 kB / 0.6895 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.4769, allocations: 7.938 kB / 0.6895 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.4769, allocations: 4 kB / 0.6896 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.4769, allocations: 0 / 0.6896 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.24e-05/0.477, allocations: 7.984 kB / 0.6896 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.477, allocations: 4 kB / 0.6896 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.809e-05/0.477, allocations: 3.938 kB / 0.6896 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.421e-06/0.477, allocations: 0 / 0.6896 GB, free: 12.64 MB / 0.5294 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 6.143e-05/0.4771, allocations: 113.8 kB / 0.6897 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.397e-06/0.4771, allocations: 3.938 kB / 0.6897 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001471/0.4773, allocations: 61.11 kB / 0.6897 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.4773, allocations: 4 kB / 0.6897 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.4773, allocations: 0 / 0.6897 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.023e-06/0.4773, allocations: 0 / 0.6897 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.563e-05/0.4774, allocations: 153.7 kB / 0.6899 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.4774, allocations: 0 / 0.6899 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.18e-05/0.4774, allocations: 8 kB / 0.6899 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.4775, allocations: 3.938 kB / 0.6899 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.4775, allocations: 3.984 kB / 0.6899 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.4775, allocations: 0 / 0.6899 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.4775, allocations: 4 kB / 0.6899 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001394/0.4776, allocations: 77.06 kB / 0.69 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.249e-05/0.4777, allocations: 89 kB / 0.6901 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.255e-05/0.4777, allocations: 3.938 kB / 0.6901 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.725e-05/0.4777, allocations: 0 / 0.6901 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.559e-05/0.4778, allocations: 4 kB / 0.6901 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-06/0.4778, allocations: 3.938 kB / 0.6901 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.149e-05/0.4778, allocations: 87.69 kB / 0.6902 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4778, allocations: 0 / 0.6902 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001902/0.478, allocations: 12 kB / 0.6902 GB, free: 11.92 MB / 0.5294 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.000123/0.4782, allocations: 103.2 kB / 0.6903 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001289/0.4783, allocations: 24.12 kB / 0.6903 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.137e-06/0.4783, allocations: 0 / 0.6903 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 4.381e-05/0.4784, allocations: 16.02 kB / 0.6903 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000219/0.4786, allocations: 7.984 kB / 0.6903 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002666/0.4789, allocations: 129.6 kB / 0.6904 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00022/0.4791, allocations: 0.6729 MB / 0.6911 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 3.45e-05/0.4791, allocations: 7.984 kB / 0.6911 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.749e-05/0.4792, allocations: 11.44 kB / 0.6911 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of SimCode: time 4.31e-07/0.4792, allocations: 0 / 0.6911 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of Templates: time 0.002431/0.4816, allocations: 0.5215 MB / 0.6916 GB, free: 10.39 MB / 0.5294 GB make -j1 -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & ./IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1)