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.0007748/0.0007749, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.007017/0.007018, allocations: 172.5 kB / 16.26 MB, free: 6.613 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.325/1.325, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001772/0.001772, allocations: 274.6 kB / 291.7 MB, free: 1.879 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9324/0.9324, allocations: 169.5 MB / 0.5004 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004239/0.0004239, allocations: 17.36 kB / 0.5987 GB, free: 28.01 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1722/0.1727, allocations: 88.55 MB / 0.6851 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.001508/0.1742, allocations: 0.9979 MB / 0.6861 GB, free: 14.04 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4506/0.6248, allocations: 128.5 MB / 0.8116 GB, free: 0.9844 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.169e-05/0.6249, allocations: 1.438 kB / 0.8116 GB, free: 0.9844 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.683e-05/0.6249, allocations: 0 / 0.8116 GB, free: 0.9844 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.177e-05/0.625, allocations: 11.89 kB / 0.8116 GB, free: 0.9805 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003411/0.6253, allocations: 54.58 kB / 0.8116 GB, free: 0.9688 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.53e-05/0.6254, allocations: 21.31 kB / 0.8117 GB, free: 0.9609 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.805e-05/0.6254, allocations: 4.656 kB / 0.8117 GB, free: 0.9609 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.708e-05/0.6255, allocations: 6.797 kB / 0.8117 GB, free: 0.9609 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.483e-05/0.6255, allocations: 8.141 kB / 0.8117 GB, free: 0.9609 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.197e-05/0.6256, allocations: 4.875 kB / 0.8117 GB, free: 0.9609 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 6.918e-05/0.6256, allocations: 13.77 kB / 0.8117 GB, free: 0.9609 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.251e-05/0.6257, allocations: 3.375 kB / 0.8117 GB, free: 0.9609 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 8.111e-05/0.6257, allocations: 36.92 kB / 0.8117 GB, free: 16.93 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001108/0.6259, allocations: 21.39 kB / 0.8118 GB, free: 16.93 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.6259, allocations: 0.5312 kB / 0.8118 GB, free: 16.93 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.453e-06/0.6259, allocations: 7.938 kB / 0.8118 GB, free: 16.92 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.6259, allocations: 0.625 kB / 0.8118 GB, free: 16.92 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.0003385/0.6262, allocations: 331 kB / 0.8121 GB, free: 16.57 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.6263, allocations: 9.812 kB / 0.8121 GB, free: 16.57 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.297e-05/0.6263, allocations: 2.562 kB / 0.8121 GB, free: 16.57 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001152/0.6264, allocations: 168.6 kB / 0.8123 GB, free: 16.37 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.634e-05/0.6265, allocations: 30.56 kB / 0.8123 GB, free: 16.34 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.166e-05/0.6265, allocations: 5.156 kB / 0.8123 GB, free: 16.34 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001227/0.6267, allocations: 40.94 kB / 0.8123 GB, free: 16.3 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.6267, allocations: 3.938 kB / 0.8123 GB, free: 16.3 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.828e-06/0.6267, allocations: 0.5312 kB / 0.8123 GB, free: 16.3 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.6267, allocations: 0.625 kB / 0.8123 GB, free: 16.3 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.854e-05/0.6268, allocations: 14.23 kB / 0.8124 GB, free: 16.3 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001458/0.627, allocations: 157.2 kB / 0.8125 GB, free: 16.11 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 9.959e-05/0.6271, allocations: 37.5 kB / 0.8125 GB, free: 16.07 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.252e-05/0.6271, allocations: 12.88 kB / 0.8125 GB, free: 16.07 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001763/0.6273, allocations: 91.72 kB / 0.8126 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.393e-05/0.6273, allocations: 31.56 kB / 0.8127 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.6273, allocations: 0 / 0.8127 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0002232/0.6276, allocations: 62.23 kB / 0.8127 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.612e-05/0.6276, allocations: 60.5 kB / 0.8128 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.355e-05/0.6277, allocations: 99.48 kB / 0.8129 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.25e-05/0.6277, allocations: 25.7 kB / 0.8129 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 2.637e-05/0.6278, allocations: 83.42 kB / 0.813 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.449e-05/0.6278, allocations: 12.88 kB / 0.813 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.907e-05/0.6278, allocations: 14.34 kB / 0.813 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.6279, allocations: 312.5 kB / 0.8133 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.318e-05/0.628, allocations: 5.719 kB / 0.8133 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.825e-05/0.628, allocations: 11.03 kB / 0.8133 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.717e-05/0.6281, allocations: 25.2 kB / 0.8133 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.6281, allocations: 0 / 0.8133 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001309/0.6282, allocations: 47.47 kB / 0.8134 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.6283, allocations: 9.344 kB / 0.8134 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.6283, allocations: 6.906 kB / 0.8134 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.6283, allocations: 0.5 kB / 0.8134 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.594e-05/0.6284, allocations: 5.031 kB / 0.8134 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.6284, allocations: 4.656 kB / 0.8134 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.905e-05/0.6284, allocations: 3.656 kB / 0.8134 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.666e-06/0.6284, allocations: 1.094 kB / 0.8134 GB, free: 15.22 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 8.358e-05/0.6285, allocations: 110.5 kB / 0.8135 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.041e-05/0.6285, allocations: 9.406 kB / 0.8135 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001693/0.6287, allocations: 61.2 kB / 0.8136 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.6287, allocations: 4.938 kB / 0.8136 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.6287, allocations: 0 / 0.8136 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.6287, allocations: 4.5 kB / 0.8136 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.102e-05/0.6288, allocations: 154.6 kB / 0.8138 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.636e-06/0.6288, allocations: 2.375 kB / 0.8138 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.048e-05/0.6289, allocations: 8.312 kB / 0.8138 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.053e-06/0.6289, allocations: 4.469 kB / 0.8138 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.061e-06/0.6289, allocations: 1.25 kB / 0.8138 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.6289, allocations: 2.156 kB / 0.8138 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.6289, allocations: 0.5312 kB / 0.8138 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001336/0.6291, allocations: 76.34 kB / 0.8138 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.327e-05/0.6291, allocations: 81.22 kB / 0.8139 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.267e-05/0.6291, allocations: 5.047 kB / 0.8139 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.782e-05/0.6292, allocations: 3.688 kB / 0.8139 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.288e-05/0.6292, allocations: 3.875 kB / 0.8139 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-06/0.6292, allocations: 1.094 kB / 0.8139 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.626e-05/0.6293, allocations: 87.16 kB / 0.814 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6293, allocations: 0 / 0.814 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001872/0.6295, allocations: 8.594 kB / 0.814 GB, free: 14.61 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.0001838/0.6297, allocations: 113.6 kB / 0.8141 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001386/0.6298, allocations: 21.08 kB / 0.8142 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.6298, allocations: 0.625 kB / 0.8142 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.771e-05/0.6299, allocations: 9.469 kB / 0.8142 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000219/0.6301, allocations: 10.38 kB / 0.8142 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002658/0.6304, allocations: 152.6 kB / 0.8143 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002647/0.6306, allocations: 0.6761 MB / 0.815 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.829e-05/0.6307, allocations: 1.625 kB / 0.815 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.736e-05/0.6307, allocations: 13.5 kB / 0.815 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of SimCode: time 2.61e-07/0.6307, allocations: 0 / 0.815 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of Templates: time 0.002325/0.633, allocations: 490 kB / 0.8155 GB, free: 13.63 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)