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.004712/0.004712, allocations: 100.2 kB / 15.73 MB, free: 6.062 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.00101/0.00101, allocations: 188.8 kB / 16.67 MB, free: 5.973 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.317/1.317, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002091/0.002091, allocations: 285 kB / 290.8 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9624/0.9624, allocations: 169.3 MB / 0.4983 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001618/0.001618, allocations: 91.86 kB / 0.6814 GB, free: 6.977 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4321/0.4338, allocations: 86.98 MB / 0.7664 GB, free: 3.914 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002462/0.4363, allocations: 1.484 MB / 0.7678 GB, free: 2.418 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.1385/0.5748, allocations: 132.1 MB / 0.8968 GB, free: 13.82 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.562e-05/0.5749, allocations: 4 kB / 0.8968 GB, free: 13.82 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 4.951e-05/0.575, allocations: 3.938 kB / 0.8968 GB, free: 13.82 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 8.579e-05/0.5751, allocations: 15.86 kB / 0.8968 GB, free: 13.8 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004573/0.5756, allocations: 71.5 kB / 0.8969 GB, free: 13.73 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0001285/0.5757, allocations: 51.8 kB / 0.8969 GB, free: 13.68 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.5758, allocations: 15.98 kB / 0.897 GB, free: 13.67 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 6.712e-05/0.5759, allocations: 19.81 kB / 0.897 GB, free: 13.65 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 6.947e-05/0.576, allocations: 27.86 kB / 0.897 GB, free: 13.62 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 2.021e-05/0.576, allocations: 8 kB / 0.897 GB, free: 13.62 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001062/0.5761, allocations: 15.98 kB / 0.897 GB, free: 13.6 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 2.247e-05/0.5762, allocations: 11.98 kB / 0.897 GB, free: 13.59 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 4.672e-05/0.5762, allocations: 23.86 kB / 0.8971 GB, free: 13.57 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0001917/0.5764, allocations: 51.39 kB / 0.8971 GB, free: 13.52 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.5764, allocations: 0 / 0.8971 GB, free: 13.52 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.493e-06/0.5764, allocations: 7.875 kB / 0.8971 GB, free: 13.51 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.033e-05/0.5765, allocations: 0 / 0.8971 GB, free: 13.51 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.0005837/0.5771, allocations: 377.5 kB / 0.8975 GB, free: 13.09 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.5771, allocations: 16.02 kB / 0.8975 GB, free: 13.08 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.291e-05/0.5772, allocations: 4.891 kB / 0.8975 GB, free: 13.07 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001458/0.5773, allocations: 176.2 kB / 0.8977 GB, free: 12.86 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.5773, allocations: 384 / 0.8977 GB, free: 12.86 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.569e-05/0.5773, allocations: 8.375 kB / 0.8977 GB, free: 12.86 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002722/0.5776, allocations: 78.19 kB / 0.8978 GB, free: 12.77 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.5776, allocations: 192 / 0.8978 GB, free: 12.77 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.466e-05/0.5777, allocations: 7.938 kB / 0.8978 GB, free: 12.77 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.5777, allocations: 0 / 0.8978 GB, free: 12.77 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002999/0.578, allocations: 67.92 kB / 0.8978 GB, free: 12.7 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000396/0.5784, allocations: 280.7 kB / 0.8981 GB, free: 12.38 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001938/0.5786, allocations: 58.53 kB / 0.8981 GB, free: 12.31 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001497/0.5788, allocations: 48.91 kB / 0.8982 GB, free: 12.26 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001666/0.5789, allocations: 85.11 kB / 0.8983 GB, free: 12.16 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/0.579, allocations: 34.55 kB / 0.8983 GB, free: 12.11 MB / 0.67 GB Notification: Performance of pre-optimization done (n=3): time 2.224e-06/0.579, allocations: 4 kB / 0.8983 GB, free: 12.11 MB / 0.67 GB Notification: Performance of matching and sorting (n=3): time 0.0005402/0.5795, allocations: 129.5 kB / 0.8984 GB, free: 11.98 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.27e-05/0.5796, allocations: 51.41 kB / 0.8985 GB, free: 11.91 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.405e-05/0.5797, allocations: 117.8 kB / 0.8986 GB, free: 11.79 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 2.296e-05/0.5797, allocations: 25.7 kB / 0.8986 GB, free: 11.76 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 4.463e-05/0.5797, allocations: 92.14 kB / 0.8987 GB, free: 11.66 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 3.388e-05/0.5798, allocations: 11.84 kB / 0.8987 GB, free: 11.65 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.907e-05/0.5798, allocations: 17.72 kB / 0.8987 GB, free: 11.63 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001089/0.5799, allocations: 318.8 kB / 0.899 GB, free: 11.31 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001492/0.5801, allocations: 31.97 kB / 0.8991 GB, free: 11.28 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001324/0.5802, allocations: 36.14 kB / 0.8991 GB, free: 11.24 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002671/0.5805, allocations: 76.8 kB / 0.8992 GB, free: 11.16 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.5805, allocations: 0 / 0.8992 GB, free: 11.16 MB / 0.67 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003129/0.5808, allocations: 93.62 kB / 0.8993 GB, free: 11.07 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.5809, allocations: 15.94 kB / 0.8993 GB, free: 11.05 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.5809, allocations: 0 / 0.8993 GB, free: 11.05 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.5809, allocations: 0 / 0.8993 GB, free: 11.05 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001209/0.581, allocations: 15.98 kB / 0.8993 GB, free: 11.04 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.581, allocations: 0 / 0.8993 GB, free: 11.04 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.869e-05/0.5811, allocations: 19.92 kB / 0.8993 GB, free: 11.02 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.5812, allocations: 7.938 kB / 0.8993 GB, free: 11.01 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 8.62e-05/0.5812, allocations: 116.2 kB / 0.8994 GB, free: 10.89 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.747e-05/0.5813, allocations: 4 kB / 0.8994 GB, free: 10.88 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003826/0.5817, allocations: 109.5 kB / 0.8995 GB, free: 10.77 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.105e-06/0.5817, allocations: 0 / 0.8995 GB, free: 10.77 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.421e-06/0.5817, allocations: 0 / 0.8995 GB, free: 10.77 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.5817, allocations: 0 / 0.8995 GB, free: 10.77 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001834/0.5819, allocations: 173.6 kB / 0.8997 GB, free: 10.55 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.5819, allocations: 4 kB / 0.8997 GB, free: 10.54 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.932e-05/0.582, allocations: 15.98 kB / 0.8997 GB, free: 10.53 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.582, allocations: 0 / 0.8997 GB, free: 10.53 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.582, allocations: 4 kB / 0.8997 GB, free: 10.52 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.582, allocations: 0 / 0.8997 GB, free: 10.52 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.582, allocations: 0 / 0.8997 GB, free: 10.52 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003667/0.5824, allocations: 207.3 kB / 0.8999 GB, free: 10.3 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 3.946e-05/0.5825, allocations: 81.06 kB / 0.9 GB, free: 10.21 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.592e-05/0.5825, allocations: 4 kB / 0.9 GB, free: 10.2 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.5826, allocations: 11.98 kB / 0.9 GB, free: 10.19 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.265e-05/0.5826, allocations: 7.984 kB / 0.9 GB, free: 10.18 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-06/0.5827, allocations: 0 / 0.9 GB, free: 10.18 MB / 0.67 GB Notification: Performance of sorting global known variables: time 5.923e-05/0.5827, allocations: 91.27 kB / 0.9001 GB, free: 10.09 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5827, allocations: 4 kB / 0.9001 GB, free: 10.09 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0002314/0.583, allocations: 15.94 kB / 0.9001 GB, free: 10.07 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.0001495/0.5831, allocations: 115.3 kB / 0.9002 GB, free: 9.953 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0003395/0.5835, allocations: 67.92 kB / 0.9003 GB, free: 9.887 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.888e-06/0.5835, allocations: 0 / 0.9003 GB, free: 9.887 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0001476/0.5836, allocations: 43.84 kB / 0.9004 GB, free: 9.844 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000314/0.584, allocations: 15.92 kB / 0.9004 GB, free: 9.828 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003713/0.5843, allocations: 151.7 kB / 0.9005 GB, free: 9.652 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000254/0.5846, allocations: 0.6807 MB / 0.9012 GB, free: 8.945 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 3.916e-05/0.5846, allocations: 12.31 kB / 0.9012 GB, free: 8.934 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.749e-05/0.5847, allocations: 11.44 kB / 0.9012 GB, free: 8.922 MB / 0.67 GB Notification: Performance of SimCode: time 2.51e-07/0.5847, allocations: 0 / 0.9012 GB, free: 8.922 MB / 0.67 GB Notification: Performance of Templates: time 0.003406/0.5881, allocations: 1.009 MB / 0.9022 GB, free: 7.926 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)