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.001535/0.001535, allocations: 106.1 kB / 16.4 MB, free: 6.504 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.001551/0.001551, allocations: 188 kB / 17.34 MB, free: 5.734 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.435/1.435, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002457/0.002457, allocations: 283.3 kB / 291.5 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9845/0.9845, allocations: 169.3 MB / 0.499 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002753/0.002753, allocations: 99.83 kB / 0.6821 GB, free: 6.973 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4292/0.4319, allocations: 86.96 MB / 0.767 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002611/0.4345, allocations: 1.496 MB / 0.7685 GB, free: 2.414 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.1584/0.5929, allocations: 132.5 MB / 0.8978 GB, free: 13.44 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.815e-05/0.593, allocations: 4 kB / 0.8979 GB, free: 13.44 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 3.821e-05/0.593, allocations: 3.938 kB / 0.8979 GB, free: 13.43 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 5.78e-05/0.5931, allocations: 11.86 kB / 0.8979 GB, free: 13.42 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003633/0.5934, allocations: 71.52 kB / 0.8979 GB, free: 13.36 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 9.905e-05/0.5935, allocations: 51.84 kB / 0.898 GB, free: 13.3 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 8.931e-05/0.5936, allocations: 11.98 kB / 0.898 GB, free: 13.29 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 4.548e-05/0.5937, allocations: 15.83 kB / 0.898 GB, free: 13.28 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 5.888e-05/0.5937, allocations: 31.84 kB / 0.898 GB, free: 13.25 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 1.452e-05/0.5937, allocations: 8 kB / 0.898 GB, free: 13.24 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 8.172e-05/0.5938, allocations: 19.92 kB / 0.8981 GB, free: 13.22 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 2.667e-05/0.5938, allocations: 11.98 kB / 0.8981 GB, free: 13.21 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 3.779e-05/0.5939, allocations: 23.86 kB / 0.8981 GB, free: 13.19 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.000144/0.594, allocations: 51.41 kB / 0.8982 GB, free: 13.14 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.645e-06/0.594, allocations: 7.922 kB / 0.8982 GB, free: 13.13 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.593e-06/0.594, allocations: 0 / 0.8982 GB, free: 13.13 MB / 0.67 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.594, allocations: 0 / 0.8982 GB, free: 13.13 MB / 0.67 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.0005737/0.5946, allocations: 373.5 kB / 0.8985 GB, free: 12.72 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.187e-05/0.5946, allocations: 8.031 kB / 0.8985 GB, free: 12.71 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.089e-05/0.5947, allocations: 12.89 kB / 0.8985 GB, free: 12.7 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001528/0.5948, allocations: 180.2 kB / 0.8987 GB, free: 12.48 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.5948, allocations: 384 / 0.8987 GB, free: 12.48 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.393e-05/0.5949, allocations: 8.312 kB / 0.8987 GB, free: 12.48 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002661/0.5951, allocations: 70.22 kB / 0.8988 GB, free: 12.4 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.647e-06/0.5951, allocations: 192 / 0.8988 GB, free: 12.4 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.5951, allocations: 3.938 kB / 0.8988 GB, free: 12.4 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.309e-06/0.5951, allocations: 4 kB / 0.8988 GB, free: 12.39 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003111/0.5955, allocations: 75.91 kB / 0.8989 GB, free: 12.32 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004027/0.5959, allocations: 280.7 kB / 0.8991 GB, free: 12 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002151/0.5961, allocations: 66.47 kB / 0.8992 GB, free: 11.92 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001548/0.5962, allocations: 32.92 kB / 0.8992 GB, free: 11.89 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001783/0.5964, allocations: 89.09 kB / 0.8993 GB, free: 11.78 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.127e-05/0.5964, allocations: 34.56 kB / 0.8993 GB, free: 11.74 MB / 0.67 GB Notification: Performance of pre-optimization done (n=3): time 1.473e-06/0.5964, allocations: 4 kB / 0.8993 GB, free: 11.73 MB / 0.67 GB Notification: Performance of matching and sorting (n=3): time 0.0005523/0.597, allocations: 133.7 kB / 0.8995 GB, free: 11.6 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.274e-05/0.597, allocations: 51.41 kB / 0.8995 GB, free: 11.54 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/0.5972, allocations: 117.8 kB / 0.8996 GB, free: 11.41 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 1.663e-05/0.5972, allocations: 25.7 kB / 0.8997 GB, free: 11.38 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 6.095e-05/0.5972, allocations: 92.12 kB / 0.8997 GB, free: 11.29 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 2.273e-05/0.5973, allocations: 19.84 kB / 0.8998 GB, free: 11.27 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.291e-05/0.5973, allocations: 9.719 kB / 0.8998 GB, free: 11.25 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001589/0.5974, allocations: 326.8 kB / 0.9001 GB, free: 10.92 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001534/0.5976, allocations: 27.97 kB / 0.9001 GB, free: 10.89 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001465/0.5977, allocations: 39.94 kB / 0.9002 GB, free: 10.86 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002828/0.598, allocations: 64.8 kB / 0.9002 GB, free: 10.79 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.598, allocations: 0 / 0.9002 GB, free: 10.79 MB / 0.67 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003347/0.5984, allocations: 109.5 kB / 0.9003 GB, free: 10.68 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.5984, allocations: 8 kB / 0.9003 GB, free: 10.67 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.5984, allocations: 0 / 0.9003 GB, free: 10.67 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.5984, allocations: 0 / 0.9003 GB, free: 10.67 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001199/0.5985, allocations: 15.98 kB / 0.9003 GB, free: 10.65 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.5985, allocations: 0 / 0.9003 GB, free: 10.65 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.332e-05/0.5986, allocations: 15.94 kB / 0.9004 GB, free: 10.64 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.5986, allocations: 0 / 0.9004 GB, free: 10.64 MB / 0.67 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.219e-05/0.5987, allocations: 116.2 kB / 0.9005 GB, free: 10.52 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.838e-05/0.5987, allocations: 11.98 kB / 0.9005 GB, free: 10.5 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003812/0.5991, allocations: 109.5 kB / 0.9006 GB, free: 10.39 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.5991, allocations: 0 / 0.9006 GB, free: 10.39 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.207e-06/0.5991, allocations: 0 / 0.9006 GB, free: 10.39 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.5991, allocations: 0 / 0.9006 GB, free: 10.39 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001895/0.5993, allocations: 177.6 kB / 0.9008 GB, free: 10.16 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.5993, allocations: 0 / 0.9008 GB, free: 10.16 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.219e-05/0.5994, allocations: 15.98 kB / 0.9008 GB, free: 10.15 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.5994, allocations: 0 / 0.9008 GB, free: 10.15 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.437e-06/0.5994, allocations: 4 kB / 0.9008 GB, free: 10.14 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.5994, allocations: 0 / 0.9008 GB, free: 10.14 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.5994, allocations: 0 / 0.9008 GB, free: 10.14 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003769/0.5998, allocations: 203.4 kB / 0.901 GB, free: 9.93 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 5.181e-05/0.5998, allocations: 85.06 kB / 0.901 GB, free: 9.828 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.357e-05/0.5999, allocations: 0 / 0.901 GB, free: 9.828 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001096/0.6, allocations: 11.98 kB / 0.9011 GB, free: 9.816 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.183e-05/0.6, allocations: 7.922 kB / 0.9011 GB, free: 9.809 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/0.6, allocations: 3.938 kB / 0.9011 GB, free: 9.805 MB / 0.67 GB Notification: Performance of sorting global known variables: time 5.927e-05/0.6001, allocations: 95.28 kB / 0.9012 GB, free: 9.711 MB / 0.67 GB Notification: Performance of sort global known variables: time 9e-08/0.6001, allocations: 0 / 0.9012 GB, free: 9.711 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0002359/0.6003, allocations: 23.92 kB / 0.9012 GB, free: 9.688 MB / 0.67 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.0001428/0.6004, allocations: 103.3 kB / 0.9013 GB, free: 9.578 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0003423/0.6008, allocations: 71.91 kB / 0.9013 GB, free: 9.508 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.6008, allocations: 3.938 kB / 0.9014 GB, free: 9.504 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0001518/0.6009, allocations: 35.97 kB / 0.9014 GB, free: 9.469 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003129/0.6013, allocations: 19.92 kB / 0.9014 GB, free: 9.449 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00034/0.6016, allocations: 156.1 kB / 0.9016 GB, free: 9.27 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003033/0.6019, allocations: 0.6846 MB / 0.9022 GB, free: 8.559 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 3.351e-05/0.6019, allocations: 7.984 kB / 0.9022 GB, free: 8.551 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.039e-05/0.602, allocations: 11.44 kB / 0.9022 GB, free: 8.539 MB / 0.67 GB Notification: Performance of SimCode: time 2.81e-07/0.602, allocations: 0 / 0.9022 GB, free: 8.539 MB / 0.67 GB Notification: Performance of Templates: time 0.003645/0.6056, allocations: 0.9992 MB / 0.9032 GB, free: 7.555 MB / 0.67 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1)