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.001488/0.001488, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001752/0.001752, allocations: 199.2 kB / 16.14 MB, free: 6.715 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.336/1.336, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001962/0.001962, allocations: 286.9 kB / 290.2 MB, free: 2.211 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.955/0.955, allocations: 169.2 MB / 0.4977 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001795/0.001795, allocations: 104.1 kB / 0.5945 GB, free: 28.24 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1751/0.1769, allocations: 86.98 MB / 0.6794 GB, free: 1.164 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002737/0.1797, allocations: 1.337 MB / 0.6807 GB, free: 15.83 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4971/0.6768, allocations: 129.9 MB / 0.8076 GB, free: 2.68 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.752e-05/0.6769, allocations: 0 / 0.8076 GB, free: 2.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.44e-05/0.677, allocations: 0 / 0.8076 GB, free: 2.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.917e-05/0.677, allocations: 11.53 kB / 0.8076 GB, free: 2.672 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003231/0.6774, allocations: 52.66 kB / 0.8076 GB, free: 2.664 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.023e-05/0.6774, allocations: 20.61 kB / 0.8077 GB, free: 2.66 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.467e-05/0.6775, allocations: 6.281 kB / 0.8077 GB, free: 2.656 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.762e-05/0.6775, allocations: 9.25 kB / 0.8077 GB, free: 2.656 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.228e-05/0.6776, allocations: 10.06 kB / 0.8077 GB, free: 2.656 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.19e-05/0.6776, allocations: 3.781 kB / 0.8077 GB, free: 2.656 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.534e-05/0.6777, allocations: 13.06 kB / 0.8077 GB, free: 2.656 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.346e-05/0.6777, allocations: 1.203 kB / 0.8077 GB, free: 2.656 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.685e-05/0.6777, allocations: 11.27 kB / 0.8077 GB, free: 2.656 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 9.083e-05/0.6778, allocations: 30.02 kB / 0.8077 GB, free: 2.652 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.6778, allocations: 0 / 0.8077 GB, free: 2.652 MB / 0.5606 GB Notification: Performance of FrontEnd: time 8.92e-07/0.6778, allocations: 0 / 0.8077 GB, free: 2.652 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.586e-06/0.6778, allocations: 0 / 0.8077 GB, free: 2.652 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.0004994/0.6784, allocations: 334.5 kB / 0.8081 GB, free: 18.3 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.6784, allocations: 9.094 kB / 0.8081 GB, free: 18.3 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.566e-05/0.6784, allocations: 6.641 kB / 0.8081 GB, free: 18.3 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001137/0.6786, allocations: 165.7 kB / 0.8082 GB, free: 18.1 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.774e-05/0.6786, allocations: 36.48 kB / 0.8083 GB, free: 18.06 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.367e-06/0.6786, allocations: 1.312 kB / 0.8083 GB, free: 18.06 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001166/0.6788, allocations: 41.61 kB / 0.8083 GB, free: 18.03 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.223e-06/0.6788, allocations: 4.656 kB / 0.8083 GB, free: 18.02 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.238e-06/0.6788, allocations: 0 / 0.8083 GB, free: 18.02 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.6788, allocations: 3.281 kB / 0.8083 GB, free: 18.02 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.122e-05/0.6789, allocations: 11.03 kB / 0.8083 GB, free: 18.02 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001426/0.679, allocations: 156.3 kB / 0.8085 GB, free: 17.84 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 8.212e-05/0.6791, allocations: 33.09 kB / 0.8085 GB, free: 17.81 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.67e-05/0.6792, allocations: 18.11 kB / 0.8085 GB, free: 17.8 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000152/0.6793, allocations: 86.91 kB / 0.8086 GB, free: 17.7 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.11e-05/0.6794, allocations: 36.19 kB / 0.8086 GB, free: 17.66 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.903e-06/0.6794, allocations: 3.984 kB / 0.8087 GB, free: 17.66 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0002269/0.6796, allocations: 62.78 kB / 0.8087 GB, free: 17.62 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.243e-05/0.6797, allocations: 54.5 kB / 0.8088 GB, free: 17.56 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.179e-05/0.6797, allocations: 94.86 kB / 0.8089 GB, free: 17.46 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.225e-05/0.6797, allocations: 27.08 kB / 0.8089 GB, free: 17.43 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.429e-05/0.6798, allocations: 82.72 kB / 0.809 GB, free: 17.35 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.216e-05/0.6798, allocations: 11.41 kB / 0.809 GB, free: 17.34 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.551e-05/0.6798, allocations: 17.58 kB / 0.809 GB, free: 17.32 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.834e-05/0.6799, allocations: 317.4 kB / 0.8093 GB, free: 17.01 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.622e-05/0.68, allocations: 12.34 kB / 0.8093 GB, free: 17 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.468e-05/0.68, allocations: 5.109 kB / 0.8093 GB, free: 17 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.611e-05/0.6801, allocations: 25.41 kB / 0.8093 GB, free: 16.99 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.6801, allocations: 0 / 0.8093 GB, free: 16.99 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001147/0.6802, allocations: 48.97 kB / 0.8094 GB, free: 16.96 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.6803, allocations: 10.14 kB / 0.8094 GB, free: 16.96 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.6803, allocations: 0 / 0.8094 GB, free: 16.96 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.6803, allocations: 7.531 kB / 0.8094 GB, free: 16.95 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.463e-05/0.6804, allocations: 5.375 kB / 0.8094 GB, free: 16.95 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.638e-06/0.6804, allocations: 1.094 kB / 0.8094 GB, free: 16.95 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.157e-05/0.6804, allocations: 6.531 kB / 0.8094 GB, free: 16.95 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/0.6804, allocations: 6.75 kB / 0.8094 GB, free: 16.95 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.587e-05/0.6805, allocations: 110.5 kB / 0.8095 GB, free: 16.83 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.188e-06/0.6805, allocations: 7.875 kB / 0.8095 GB, free: 16.83 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001527/0.6807, allocations: 54.53 kB / 0.8096 GB, free: 16.79 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.6807, allocations: 5.719 kB / 0.8096 GB, free: 16.79 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.6807, allocations: 0 / 0.8096 GB, free: 16.79 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.6807, allocations: 0 / 0.8096 GB, free: 16.79 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001022/0.6808, allocations: 156.2 kB / 0.8097 GB, free: 16.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.6808, allocations: 1.203 kB / 0.8097 GB, free: 16.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.957e-05/0.6808, allocations: 6.281 kB / 0.8097 GB, free: 16.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.6809, allocations: 6.656 kB / 0.8097 GB, free: 16.59 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.071e-06/0.6809, allocations: 0 / 0.8097 GB, free: 16.59 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.6809, allocations: 0 / 0.8097 GB, free: 16.59 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.6809, allocations: 6.875 kB / 0.8098 GB, free: 16.59 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001262/0.681, allocations: 77.38 kB / 0.8098 GB, free: 16.52 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.078e-05/0.6811, allocations: 79.78 kB / 0.8099 GB, free: 16.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.255e-05/0.6811, allocations: 3.938 kB / 0.8099 GB, free: 16.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.872e-05/0.6811, allocations: 0 / 0.8099 GB, free: 16.43 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.521e-05/0.6812, allocations: 4.344 kB / 0.8099 GB, free: 16.43 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.925e-06/0.6812, allocations: 3.281 kB / 0.8099 GB, free: 16.43 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.25e-05/0.6812, allocations: 83.45 kB / 0.81 GB, free: 16.35 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6812, allocations: 4 kB / 0.81 GB, free: 16.34 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001859/0.6814, allocations: 11.78 kB / 0.81 GB, free: 16.34 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.0001452/0.6816, allocations: 109.3 kB / 0.8101 GB, free: 16.25 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000135/0.6817, allocations: 25.7 kB / 0.8101 GB, free: 16.25 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.6817, allocations: 0 / 0.8101 GB, free: 16.25 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 4.465e-05/0.6818, allocations: 10.92 kB / 0.8101 GB, free: 16.25 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002229/0.682, allocations: 11.91 kB / 0.8102 GB, free: 16.25 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002547/0.6823, allocations: 129.1 kB / 0.8103 GB, free: 16.13 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002305/0.6825, allocations: 0.6791 MB / 0.8109 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 4.028e-05/0.6825, allocations: 12.41 kB / 0.811 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.585e-05/0.6826, allocations: 8.594 kB / 0.811 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of SimCode: time 2.2e-07/0.6826, allocations: 0 / 0.811 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of Templates: time 0.002239/0.6848, allocations: 490.4 kB / 0.8114 GB, free: 15.37 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)