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.001241/0.001241, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.001351/0.001351, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.25/1.25, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002106/0.002106, allocations: 299.7 kB / 291.3 MB, free: 14.55 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8889/0.8889, allocations: 169.2 MB / 0.4988 GB, free: 4.496 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00181/0.00181, allocations: 90.8 kB / 0.5959 GB, free: 15.2 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1472/0.1491, allocations: 86.97 MB / 0.6808 GB, free: 8.234 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002566/0.1517, allocations: 1.282 MB / 0.6821 GB, free: 6.938 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3815/0.5332, allocations: 132 MB / 0.811 GB, free: 9.906 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.892e-05/0.5333, allocations: 0 / 0.811 GB, free: 9.906 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.195e-05/0.5334, allocations: 3.938 kB / 0.811 GB, free: 9.902 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.959e-05/0.5335, allocations: 7.984 kB / 0.811 GB, free: 9.895 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003498/0.5338, allocations: 58.48 kB / 0.8111 GB, free: 9.84 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.962e-05/0.5339, allocations: 19.88 kB / 0.8111 GB, free: 9.82 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.894e-05/0.534, allocations: 7.984 kB / 0.8111 GB, free: 9.812 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.894e-05/0.534, allocations: 7.938 kB / 0.8111 GB, free: 9.805 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.206e-05/0.5341, allocations: 11.92 kB / 0.8111 GB, free: 9.793 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.225e-05/0.5341, allocations: 0 / 0.8111 GB, free: 9.793 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 7.482e-05/0.5342, allocations: 19.98 kB / 0.8111 GB, free: 9.773 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.381e-05/0.5342, allocations: 0 / 0.8111 GB, free: 9.773 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.89e-05/0.5342, allocations: 17.14 kB / 0.8112 GB, free: 9.758 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 9.944e-05/0.5343, allocations: 22.36 kB / 0.8112 GB, free: 9.738 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.5343, allocations: 0 / 0.8112 GB, free: 9.738 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.042e-06/0.5343, allocations: 0 / 0.8112 GB, free: 9.738 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.5344, allocations: 0 / 0.8112 GB, free: 9.738 MB / 0.5762 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.0004081/0.5348, allocations: 333.5 kB / 0.8115 GB, free: 9.363 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.5348, allocations: 8.031 kB / 0.8115 GB, free: 9.355 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.05e-05/0.5349, allocations: 8.938 kB / 0.8115 GB, free: 9.348 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001116/0.535, allocations: 169 kB / 0.8117 GB, free: 9.145 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.562e-05/0.5351, allocations: 34.25 kB / 0.8117 GB, free: 9.105 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.835e-06/0.5351, allocations: 384 / 0.8117 GB, free: 9.105 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001169/0.5352, allocations: 38.19 kB / 0.8117 GB, free: 9.062 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.5352, allocations: 3.938 kB / 0.8117 GB, free: 9.059 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.748e-05/0.5352, allocations: 7.938 kB / 0.8118 GB, free: 9.051 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.5352, allocations: 4 kB / 0.8118 GB, free: 9.047 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.081e-05/0.5353, allocations: 8 kB / 0.8118 GB, free: 9.039 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001645/0.5355, allocations: 161.5 kB / 0.8119 GB, free: 8.832 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 9.119e-05/0.5356, allocations: 34.61 kB / 0.812 GB, free: 8.789 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.815e-05/0.5357, allocations: 8.859 kB / 0.812 GB, free: 8.777 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001614/0.5358, allocations: 89.19 kB / 0.812 GB, free: 8.672 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.747e-05/0.5359, allocations: 42.5 kB / 0.8121 GB, free: 8.621 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.5359, allocations: 0 / 0.8121 GB, free: 8.621 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0002204/0.5361, allocations: 61.61 kB / 0.8121 GB, free: 8.555 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.408e-05/0.5361, allocations: 51.41 kB / 0.8122 GB, free: 8.492 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.534e-05/0.5362, allocations: 101.8 kB / 0.8123 GB, free: 8.383 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.072e-05/0.5362, allocations: 25.7 kB / 0.8123 GB, free: 8.352 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 2.258e-05/0.5363, allocations: 84.12 kB / 0.8124 GB, free: 8.266 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.55e-05/0.5363, allocations: 11.84 kB / 0.8124 GB, free: 8.254 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.886e-05/0.5363, allocations: 17.72 kB / 0.8124 GB, free: 8.23 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.955e-05/0.5364, allocations: 314.8 kB / 0.8127 GB, free: 7.914 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.576e-05/0.5365, allocations: 7.984 kB / 0.8127 GB, free: 7.906 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.5e-05/0.5365, allocations: 4 kB / 0.8127 GB, free: 7.902 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.243e-05/0.5366, allocations: 24.78 kB / 0.8128 GB, free: 7.875 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.5366, allocations: 0 / 0.8128 GB, free: 7.875 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001175/0.5367, allocations: 54.14 kB / 0.8128 GB, free: 7.816 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.5367, allocations: 11.94 kB / 0.8128 GB, free: 7.805 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.5367, allocations: 0 / 0.8128 GB, free: 7.805 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.5368, allocations: 0 / 0.8128 GB, free: 7.805 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.527e-05/0.5368, allocations: 8.875 kB / 0.8128 GB, free: 7.797 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.5368, allocations: 0 / 0.8128 GB, free: 7.797 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.889e-05/0.5369, allocations: 3.906 kB / 0.8128 GB, free: 7.793 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.274e-06/0.5369, allocations: 4 kB / 0.8128 GB, free: 7.789 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 6.866e-05/0.537, allocations: 109.8 kB / 0.8129 GB, free: 7.672 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.227e-05/0.537, allocations: 15.89 kB / 0.813 GB, free: 7.656 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001524/0.5371, allocations: 57.19 kB / 0.813 GB, free: 7.59 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.5372, allocations: 0 / 0.813 GB, free: 7.59 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.5372, allocations: 0 / 0.813 GB, free: 7.59 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.738e-06/0.5372, allocations: 3.984 kB / 0.813 GB, free: 7.586 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.8e-05/0.5373, allocations: 151.9 kB / 0.8132 GB, free: 7.391 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.5373, allocations: 0 / 0.8132 GB, free: 7.391 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.958e-05/0.5373, allocations: 7.984 kB / 0.8132 GB, free: 7.383 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/0.5373, allocations: 3.938 kB / 0.8132 GB, free: 7.379 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.655e-06/0.5373, allocations: 7.938 kB / 0.8132 GB, free: 7.371 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.5373, allocations: 4 kB / 0.8132 GB, free: 7.367 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.5373, allocations: 0 / 0.8132 GB, free: 7.367 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001349/0.5375, allocations: 84.98 kB / 0.8133 GB, free: 7.266 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.039e-05/0.5375, allocations: 77.11 kB / 0.8133 GB, free: 7.172 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.333e-05/0.5376, allocations: 3.938 kB / 0.8133 GB, free: 7.168 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.659e-05/0.5376, allocations: 0 / 0.8133 GB, free: 7.168 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.173e-05/0.5376, allocations: 7.984 kB / 0.8134 GB, free: 7.16 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/0.5376, allocations: 8 kB / 0.8134 GB, free: 7.152 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 2.866e-05/0.5377, allocations: 79.28 kB / 0.8134 GB, free: 7.074 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.5377, allocations: 0 / 0.8134 GB, free: 7.074 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001812/0.5379, allocations: 8 kB / 0.8134 GB, free: 7.066 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.0001403/0.538, allocations: 109.4 kB / 0.8135 GB, free: 6.949 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001323/0.5382, allocations: 23.92 kB / 0.8136 GB, free: 6.926 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/0.5382, allocations: 0 / 0.8136 GB, free: 6.926 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 4.647e-05/0.5382, allocations: 15.98 kB / 0.8136 GB, free: 6.91 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002108/0.5384, allocations: 10.19 kB / 0.8136 GB, free: 6.902 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000275/0.5387, allocations: 150.4 kB / 0.8137 GB, free: 6.723 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002029/0.5389, allocations: 0.6768 MB / 0.8144 GB, free: 6.02 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.984e-05/0.539, allocations: 11.44 kB / 0.8144 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of SimCode: time 2.044e-06/0.539, allocations: 0 / 0.8144 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of Templates: time 0.001838/0.5408, allocations: 0.582 MB / 0.815 GB, free: 5.434 MB / 0.5762 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)