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.001221/0.001221, allocations: 111.4 kB / 16.37 MB, free: 6.344 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.001206/0.001206, allocations: 192.6 kB / 17.3 MB, free: 5.898 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.231/1.231, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002056/0.002056, allocations: 286.6 kB / 291.4 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.9023/0.9023, allocations: 169.3 MB / 0.4989 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001738/0.001738, allocations: 99.83 kB / 0.682 GB, free: 7.02 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4039/0.4057, allocations: 86.98 MB / 0.767 GB, free: 3.844 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002177/0.4079, allocations: 1.492 MB / 0.7684 GB, free: 2.34 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.1218/0.5297, allocations: 132.1 MB / 0.8974 GB, free: 13.75 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.017e-05/0.5298, allocations: 4 kB / 0.8974 GB, free: 13.75 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 3.335e-05/0.5299, allocations: 7.938 kB / 0.8974 GB, free: 13.74 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 5.327e-05/0.53, allocations: 7.875 kB / 0.8974 GB, free: 13.73 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003486/0.5303, allocations: 75.23 kB / 0.8975 GB, free: 13.67 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 9.033e-05/0.5304, allocations: 55.78 kB / 0.8975 GB, free: 13.61 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 9.03e-05/0.5305, allocations: 11.98 kB / 0.8976 GB, free: 13.6 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 4.556e-05/0.5306, allocations: 23.88 kB / 0.8976 GB, free: 13.58 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 4.769e-05/0.5306, allocations: 27.91 kB / 0.8976 GB, free: 13.55 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 1.479e-05/0.5306, allocations: 4 kB / 0.8976 GB, free: 13.55 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 8.804e-05/0.5307, allocations: 19.98 kB / 0.8976 GB, free: 13.53 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 1.335e-05/0.5308, allocations: 7.938 kB / 0.8976 GB, free: 13.52 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 3.503e-05/0.5308, allocations: 27.86 kB / 0.8977 GB, free: 13.49 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0001195/0.5309, allocations: 47.88 kB / 0.8977 GB, free: 13.45 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.5309, allocations: 3.984 kB / 0.8977 GB, free: 13.44 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.413e-06/0.5309, allocations: 0 / 0.8977 GB, free: 13.44 MB / 0.67 GB Notification: Performance of Transformations before backend: time 8.526e-06/0.531, allocations: 4 kB / 0.8977 GB, free: 13.44 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.0004838/0.5314, allocations: 373.8 kB / 0.8981 GB, free: 13.02 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.5315, allocations: 15.97 kB / 0.8981 GB, free: 13.01 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.232e-05/0.5315, allocations: 0.9375 kB / 0.8981 GB, free: 13.01 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001026/0.5316, allocations: 180.2 kB / 0.8983 GB, free: 12.79 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.5316, allocations: 4.375 kB / 0.8983 GB, free: 12.79 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.043e-05/0.5317, allocations: 384 / 0.8983 GB, free: 12.79 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002344/0.5319, allocations: 70.22 kB / 0.8983 GB, free: 12.71 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.5319, allocations: 192 / 0.8983 GB, free: 12.71 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/0.5319, allocations: 11.94 kB / 0.8983 GB, free: 12.7 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.5319, allocations: 7.984 kB / 0.8984 GB, free: 12.7 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002798/0.5322, allocations: 67.91 kB / 0.8984 GB, free: 12.63 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003234/0.5326, allocations: 284.7 kB / 0.8987 GB, free: 12.3 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001851/0.5328, allocations: 58.53 kB / 0.8987 GB, free: 12.23 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001441/0.5329, allocations: 36.92 kB / 0.8988 GB, free: 12.2 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001429/0.5331, allocations: 89.09 kB / 0.8989 GB, free: 12.09 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.221e-05/0.5331, allocations: 34.56 kB / 0.8989 GB, free: 12.05 MB / 0.67 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.5331, allocations: 7.938 kB / 0.8989 GB, free: 12.04 MB / 0.67 GB Notification: Performance of matching and sorting (n=3): time 0.000501/0.5336, allocations: 129.6 kB / 0.899 GB, free: 11.91 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.165e-05/0.5336, allocations: 51.41 kB / 0.8991 GB, free: 11.84 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.921e-05/0.5337, allocations: 113.8 kB / 0.8992 GB, free: 11.72 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 1.163e-05/0.5337, allocations: 29.7 kB / 0.8992 GB, free: 11.69 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 3.918e-05/0.5338, allocations: 96.03 kB / 0.8993 GB, free: 11.59 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 1.554e-05/0.5338, allocations: 7.844 kB / 0.8993 GB, free: 11.58 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.181e-05/0.5339, allocations: 17.72 kB / 0.8993 GB, free: 11.56 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 9.399e-05/0.534, allocations: 318.8 kB / 0.8996 GB, free: 11.24 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001344/0.5341, allocations: 31.97 kB / 0.8997 GB, free: 11.21 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001257/0.5342, allocations: 35.95 kB / 0.8997 GB, free: 11.17 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002517/0.5345, allocations: 68.73 kB / 0.8998 GB, free: 11.1 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.5345, allocations: 3.938 kB / 0.8998 GB, free: 11.1 MB / 0.67 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003147/0.5348, allocations: 105.5 kB / 0.8999 GB, free: 10.99 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.5348, allocations: 8 kB / 0.8999 GB, free: 10.98 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.426e-06/0.5348, allocations: 0 / 0.8999 GB, free: 10.98 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.5349, allocations: 0 / 0.8999 GB, free: 10.98 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001097/0.535, allocations: 11.98 kB / 0.8999 GB, free: 10.97 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.535, allocations: 7.938 kB / 0.8999 GB, free: 10.96 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.38e-05/0.5351, allocations: 11.98 kB / 0.8999 GB, free: 10.95 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.5351, allocations: 4 kB / 0.8999 GB, free: 10.95 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 6.33e-05/0.5351, allocations: 113.8 kB / 0.9 GB, free: 10.82 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.578e-05/0.5352, allocations: 7.984 kB / 0.9 GB, free: 10.82 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003332/0.5355, allocations: 109.5 kB / 0.9001 GB, free: 10.7 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.5355, allocations: 0 / 0.9001 GB, free: 10.7 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.5355, allocations: 0 / 0.9001 GB, free: 10.7 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.5355, allocations: 4 kB / 0.9001 GB, free: 10.7 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001465/0.5357, allocations: 177.6 kB / 0.9003 GB, free: 10.47 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.5357, allocations: 0 / 0.9003 GB, free: 10.47 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.664e-05/0.5358, allocations: 15.98 kB / 0.9003 GB, free: 10.46 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.5358, allocations: 0 / 0.9003 GB, free: 10.46 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.673e-06/0.5358, allocations: 384 / 0.9003 GB, free: 10.46 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.5358, allocations: 0 / 0.9003 GB, free: 10.46 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.5358, allocations: 4 kB / 0.9003 GB, free: 10.45 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000337/0.5362, allocations: 211.2 kB / 0.9005 GB, free: 10.23 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 3.637e-05/0.5362, allocations: 81.02 kB / 0.9006 GB, free: 10.13 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.346e-05/0.5362, allocations: 4 kB / 0.9006 GB, free: 10.13 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.92e-05/0.5363, allocations: 7.984 kB / 0.9006 GB, free: 10.12 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.43e-05/0.5364, allocations: 11.98 kB / 0.9006 GB, free: 10.11 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.496e-06/0.5364, allocations: 0 / 0.9006 GB, free: 10.11 MB / 0.67 GB Notification: Performance of sorting global known variables: time 4.759e-05/0.5364, allocations: 91.28 kB / 0.9007 GB, free: 10.02 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5365, allocations: 0 / 0.9007 GB, free: 10.02 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0002206/0.5367, allocations: 19.98 kB / 0.9007 GB, free: 10 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.000122/0.5368, allocations: 103.2 kB / 0.9008 GB, free: 9.891 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0003208/0.5371, allocations: 71.91 kB / 0.9009 GB, free: 9.82 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.5371, allocations: 4 kB / 0.9009 GB, free: 9.816 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0001388/0.5373, allocations: 39.91 kB / 0.9009 GB, free: 9.777 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002911/0.5376, allocations: 15.86 kB / 0.901 GB, free: 9.762 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003041/0.5379, allocations: 180.8 kB / 0.9011 GB, free: 9.555 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002046/0.5381, allocations: 0.6962 MB / 0.9018 GB, free: 8.832 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.861e-05/0.5382, allocations: 11.44 kB / 0.9018 GB, free: 8.82 MB / 0.67 GB Notification: Performance of SimCode: time 3.21e-07/0.5382, allocations: 0 / 0.9018 GB, free: 8.82 MB / 0.67 GB Notification: Performance of Templates: time 0.002059/0.5402, allocations: 0.9275 MB / 0.9027 GB, free: 7.902 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1)