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.001301/0.001301, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001473/0.001473, allocations: 195.2 kB / 16.14 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.324/1.324, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002068/0.002068, allocations: 287.1 kB / 290.2 MB, free: 2.195 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9186/0.9186, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001643/0.001643, allocations: 93.75 kB / 0.5945 GB, free: 28.32 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1779/0.1796, allocations: 86.98 MB / 0.6794 GB, free: 1.203 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX): time 0.003508/0.1832, allocations: 1.561 MB / 0.681 GB, free: 15.64 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5033/0.6864, allocations: 129.9 MB / 0.8078 GB, free: 2.254 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.617e-05/0.6865, allocations: 0 / 0.8078 GB, free: 2.254 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.786e-05/0.6866, allocations: 6.609 kB / 0.8078 GB, free: 2.25 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.215e-05/0.6866, allocations: 6 kB / 0.8078 GB, free: 2.246 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003037/0.687, allocations: 62.7 kB / 0.8079 GB, free: 2.238 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.376e-05/0.687, allocations: 51.66 kB / 0.8079 GB, free: 2.23 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 7.268e-05/0.6871, allocations: 13.42 kB / 0.808 GB, free: 2.227 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.045e-05/0.6872, allocations: 19.48 kB / 0.808 GB, free: 2.227 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.925e-05/0.6872, allocations: 31.97 kB / 0.808 GB, free: 2.223 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.212e-05/0.6872, allocations: 2.25 kB / 0.808 GB, free: 2.223 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 6.921e-05/0.6873, allocations: 15.48 kB / 0.808 GB, free: 2.223 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.383e-05/0.6873, allocations: 8.281 kB / 0.808 GB, free: 2.223 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.199e-05/0.6874, allocations: 19.75 kB / 0.8081 GB, free: 2.223 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001273/0.6875, allocations: 56.91 kB / 0.8081 GB, free: 2.219 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.6875, allocations: 1.094 kB / 0.8081 GB, free: 2.219 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.072e-06/0.6875, allocations: 3.156 kB / 0.8081 GB, free: 2.219 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.098e-06/0.6875, allocations: 4 kB / 0.8081 GB, free: 2.215 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006064/0.6881, allocations: 366.3 kB / 0.8085 GB, free: 17.85 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/0.6882, allocations: 11.03 kB / 0.8085 GB, free: 17.85 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.329e-05/0.6882, allocations: 6.188 kB / 0.8085 GB, free: 17.85 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001136/0.6883, allocations: 177.2 kB / 0.8087 GB, free: 17.64 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.6883, allocations: 3.938 kB / 0.8087 GB, free: 17.64 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.194e-05/0.6884, allocations: 3.375 kB / 0.8087 GB, free: 17.64 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002393/0.6886, allocations: 81.67 kB / 0.8087 GB, free: 17.61 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.632e-06/0.6886, allocations: 192 / 0.8087 GB, free: 17.61 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.6886, allocations: 7.25 kB / 0.8087 GB, free: 17.6 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.6886, allocations: 1.656 kB / 0.8087 GB, free: 17.6 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002695/0.6889, allocations: 62.83 kB / 0.8088 GB, free: 17.6 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003182/0.6892, allocations: 286.7 kB / 0.8091 GB, free: 17.33 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000179/0.6894, allocations: 59.28 kB / 0.8091 GB, free: 17.3 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000133/0.6896, allocations: 37.58 kB / 0.8092 GB, free: 17.3 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001708/0.6897, allocations: 91.64 kB / 0.8093 GB, free: 17.2 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.757e-05/0.6898, allocations: 30.56 kB / 0.8093 GB, free: 17.16 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.342e-06/0.6898, allocations: 1.203 kB / 0.8093 GB, free: 17.16 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0006912/0.6905, allocations: 143.3 kB / 0.8094 GB, free: 17.12 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.52e-05/0.6905, allocations: 56.66 kB / 0.8095 GB, free: 17.05 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.6907, allocations: 113.6 kB / 0.8096 GB, free: 16.95 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.6907, allocations: 25.7 kB / 0.8096 GB, free: 16.92 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.474e-05/0.6907, allocations: 91.48 kB / 0.8097 GB, free: 16.84 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.939e-05/0.6908, allocations: 11.25 kB / 0.8097 GB, free: 16.83 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.105e-05/0.6908, allocations: 13.56 kB / 0.8097 GB, free: 16.82 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.6909, allocations: 321.8 kB / 0.81 GB, free: 16.5 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001862/0.6911, allocations: 35.69 kB / 0.8101 GB, free: 16.5 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001742/0.6913, allocations: 28.45 kB / 0.8101 GB, free: 16.5 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003499/0.6917, allocations: 70.81 kB / 0.8102 GB, free: 16.49 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.6917, allocations: 0 / 0.8102 GB, free: 16.49 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004065/0.6921, allocations: 100.4 kB / 0.8103 GB, free: 16.45 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.6921, allocations: 7.359 kB / 0.8103 GB, free: 16.45 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.6921, allocations: 4.188 kB / 0.8103 GB, free: 16.45 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.6922, allocations: 3.938 kB / 0.8103 GB, free: 16.45 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001406/0.6923, allocations: 13.7 kB / 0.8103 GB, free: 16.45 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.084e-06/0.6923, allocations: 0 / 0.8103 GB, free: 16.45 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001034/0.6924, allocations: 26.81 kB / 0.8103 GB, free: 16.44 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.317e-06/0.6925, allocations: 1.75 kB / 0.8103 GB, free: 16.44 MB / 0.5762 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 9.145e-05/0.6926, allocations: 114.7 kB / 0.8104 GB, free: 16.32 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.54e-05/0.6926, allocations: 3.906 kB / 0.8104 GB, free: 16.32 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004497/0.6931, allocations: 112 kB / 0.8105 GB, free: 16.27 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.6931, allocations: 2.672 kB / 0.8105 GB, free: 16.27 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.6931, allocations: 0 / 0.8105 GB, free: 16.27 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.6931, allocations: 0 / 0.8105 GB, free: 16.27 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001972/0.6933, allocations: 176 kB / 0.8107 GB, free: 16.08 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.6933, allocations: 0 / 0.8107 GB, free: 16.08 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001192/0.6934, allocations: 16.39 kB / 0.8107 GB, free: 16.08 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.6934, allocations: 1.094 kB / 0.8107 GB, free: 16.08 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.6935, allocations: 0 / 0.8107 GB, free: 16.08 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.6935, allocations: 2.25 kB / 0.8107 GB, free: 16.08 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.6935, allocations: 4 kB / 0.8107 GB, free: 16.07 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004422/0.6939, allocations: 199.8 kB / 0.8109 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.754e-05/0.694, allocations: 80.88 kB / 0.811 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.827e-05/0.694, allocations: 5.594 kB / 0.811 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001483/0.6942, allocations: 16.33 kB / 0.811 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.779e-05/0.6942, allocations: 2.484 kB / 0.811 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.905e-06/0.6942, allocations: 1.344 kB / 0.811 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.894e-05/0.6943, allocations: 96.39 kB / 0.8111 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6943, allocations: 0 / 0.8111 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003289/0.6947, allocations: 12.59 kB / 0.8111 GB, free: 15.77 MB / 0.5762 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.0001775/0.6948, allocations: 114.4 kB / 0.8112 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004156/0.6953, allocations: 71.06 kB / 0.8113 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.6953, allocations: 0 / 0.8113 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002023/0.6955, allocations: 35.11 kB / 0.8113 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004449/0.6959, allocations: 18.92 kB / 0.8113 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004162/0.6964, allocations: 179.7 kB / 0.8115 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003053/0.6967, allocations: 0.6833 MB / 0.8122 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 4.445e-05/0.6967, allocations: 1.375 kB / 0.8122 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.302e-05/0.6968, allocations: 17.27 kB / 0.8122 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of SimCode: time 4e-07/0.6968, allocations: 1.203 kB / 0.8122 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of Templates: time 0.003648/0.7004, allocations: 0.8528 MB / 0.813 GB, free: 14.74 MB / 0.5762 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)