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.001532/0.001532, 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.001723/0.001723, allocations: 193.2 kB / 16.14 MB, free: 6.645 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.467/1.467, 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.002663/0.002663, allocations: 289.7 kB / 290.2 MB, free: 2.188 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.077/1.077, allocations: 178.6 MB / 0.5068 GB, free: 4.781 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00412/0.00412, allocations: 97.53 kB / 0.6057 GB, free: 25.21 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1762/0.1803, allocations: 89.15 MB / 0.6928 GB, free: 4.852 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002661/0.183, allocations: 1.342 MB / 0.6941 GB, free: 3.508 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4891/0.6721, allocations: 129.9 MB / 0.8209 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.702e-05/0.6722, allocations: 0 / 0.8209 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.29e-05/0.6723, allocations: 3.938 kB / 0.8209 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.7e-05/0.6723, allocations: 3.766 kB / 0.8209 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003492/0.6727, allocations: 45.56 kB / 0.821 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.256e-05/0.6728, allocations: 23.39 kB / 0.821 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.795e-05/0.6728, allocations: 1.469 kB / 0.821 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.333e-05/0.6729, allocations: 20.97 kB / 0.821 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.812e-05/0.6729, allocations: 7.109 kB / 0.821 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.22e-05/0.6729, allocations: 0 / 0.821 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.386e-05/0.673, allocations: 14.25 kB / 0.8211 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.477e-05/0.673, allocations: 2.719 kB / 0.8211 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.512e-05/0.6731, allocations: 12.69 kB / 0.8211 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001057/0.6732, allocations: 26.53 kB / 0.8211 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.6732, allocations: 0 / 0.8211 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of FrontEnd: time 9.31e-07/0.6732, allocations: 0 / 0.8211 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.647e-06/0.6732, allocations: 0 / 0.8211 GB, free: 10.71 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.0004551/0.6737, allocations: 339.5 kB / 0.8214 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.6737, allocations: 13.53 kB / 0.8214 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.85e-05/0.6738, allocations: 6.062 kB / 0.8214 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001287/0.6739, allocations: 161.7 kB / 0.8216 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.73e-05/0.674, allocations: 31.34 kB / 0.8216 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.05e-05/0.674, allocations: 5.875 kB / 0.8216 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001174/0.6741, allocations: 34.59 kB / 0.8217 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.6741, allocations: 3.938 kB / 0.8217 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.746e-06/0.6742, allocations: 5.25 kB / 0.8217 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.6742, allocations: 0 / 0.8217 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.058e-05/0.6743, allocations: 16.7 kB / 0.8217 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001809/0.6744, allocations: 156.4 kB / 0.8218 GB, free: 9.871 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 9.335e-05/0.6745, allocations: 33.3 kB / 0.8219 GB, free: 9.84 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.118e-05/0.6746, allocations: 12.91 kB / 0.8219 GB, free: 9.832 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001608/0.6748, allocations: 94.41 kB / 0.822 GB, free: 9.734 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.826e-05/0.6748, allocations: 36.14 kB / 0.822 GB, free: 9.691 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.6748, allocations: 0 / 0.822 GB, free: 9.691 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0002559/0.6751, allocations: 66.92 kB / 0.8221 GB, free: 9.645 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.289e-05/0.6751, allocations: 52.75 kB / 0.8221 GB, free: 9.582 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.432e-05/0.6752, allocations: 93.33 kB / 0.8222 GB, free: 9.484 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.47e-05/0.6752, allocations: 25.7 kB / 0.8222 GB, free: 9.453 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.37e-05/0.6753, allocations: 86.72 kB / 0.8223 GB, free: 9.367 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.719e-05/0.6753, allocations: 17.59 kB / 0.8223 GB, free: 9.352 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.19e-05/0.6754, allocations: 14.25 kB / 0.8223 GB, free: 9.336 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.6755, allocations: 312.9 kB / 0.8226 GB, free: 9.023 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.214e-05/0.6756, allocations: 7.875 kB / 0.8227 GB, free: 9.02 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.582e-05/0.6756, allocations: 12.42 kB / 0.8227 GB, free: 9.016 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.681e-05/0.6757, allocations: 21.42 kB / 0.8227 GB, free: 9.004 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.6757, allocations: 4 kB / 0.8227 GB, free: 9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001248/0.6759, allocations: 59.83 kB / 0.8227 GB, free: 8.957 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.6759, allocations: 8.594 kB / 0.8228 GB, free: 8.953 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.6759, allocations: 0 / 0.8228 GB, free: 8.953 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.6759, allocations: 1.094 kB / 0.8228 GB, free: 8.953 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.757e-05/0.676, allocations: 5.25 kB / 0.8228 GB, free: 8.953 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.676, allocations: 1.5 kB / 0.8228 GB, free: 8.953 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.968e-05/0.676, allocations: 3.5 kB / 0.8228 GB, free: 8.953 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.7e-06/0.676, allocations: 1.375 kB / 0.8228 GB, free: 8.953 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 7.84e-05/0.6761, allocations: 115.1 kB / 0.8229 GB, free: 8.832 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.096e-05/0.6761, allocations: 5.125 kB / 0.8229 GB, free: 8.828 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001593/0.6763, allocations: 54.34 kB / 0.8229 GB, free: 8.789 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.6763, allocations: 1.156 kB / 0.8229 GB, free: 8.789 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.6763, allocations: 3.938 kB / 0.8229 GB, free: 8.785 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.6763, allocations: 2.719 kB / 0.8229 GB, free: 8.785 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001262/0.6765, allocations: 153 kB / 0.8231 GB, free: 8.594 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.6765, allocations: 0 / 0.8231 GB, free: 8.594 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.134e-05/0.6765, allocations: 9.125 kB / 0.8231 GB, free: 8.59 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.621e-06/0.6765, allocations: 6.141 kB / 0.8231 GB, free: 8.586 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.705e-06/0.6765, allocations: 3.375 kB / 0.8231 GB, free: 8.586 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.6765, allocations: 0 / 0.8231 GB, free: 8.586 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.6766, allocations: 0 / 0.8231 GB, free: 8.586 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001443/0.6767, allocations: 78.08 kB / 0.8232 GB, free: 8.512 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.569e-05/0.6768, allocations: 81.17 kB / 0.8233 GB, free: 8.418 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.371e-05/0.6768, allocations: 9.625 kB / 0.8233 GB, free: 8.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.931e-05/0.6768, allocations: 2.484 kB / 0.8233 GB, free: 8.41 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.347e-05/0.6769, allocations: 1.703 kB / 0.8233 GB, free: 8.41 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.001e-06/0.6769, allocations: 5.797 kB / 0.8233 GB, free: 8.406 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.055e-05/0.6769, allocations: 79.59 kB / 0.8233 GB, free: 8.332 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6769, allocations: 3.938 kB / 0.8234 GB, free: 8.328 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001847/0.6771, allocations: 13.75 kB / 0.8234 GB, free: 8.324 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.0001574/0.6773, allocations: 104.3 kB / 0.8235 GB, free: 8.234 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001362/0.6774, allocations: 21.8 kB / 0.8235 GB, free: 8.23 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.6774, allocations: 3.938 kB / 0.8235 GB, free: 8.227 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.905e-05/0.6775, allocations: 14.09 kB / 0.8235 GB, free: 8.223 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002364/0.6777, allocations: 7.016 kB / 0.8235 GB, free: 8.223 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002848/0.678, allocations: 127.4 kB / 0.8236 GB, free: 8.102 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003117/0.6784, allocations: 0.6794 MB / 0.8243 GB, free: 7.402 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.152e-05/0.6784, allocations: 2.562 kB / 0.8243 GB, free: 7.402 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.013e-05/0.6784, allocations: 8.656 kB / 0.8243 GB, free: 7.395 MB / 0.5606 GB Notification: Performance of SimCode: time 3.81e-07/0.6785, allocations: 3.938 kB / 0.8243 GB, free: 7.391 MB / 0.5606 GB Notification: Performance of Templates: time 0.002745/0.6812, allocations: 0.4889 MB / 0.8248 GB, free: 7.32 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)