Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.000935/0.0009352, allocations: 99.31 kB / 15.05 MB, free: 1.105 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.0009754/0.0009754, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.522/1.522, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.765/1.765, allocations: 292.5 MB / 0.5497 GB, free: 14.64 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005669/0.0005671, allocations: 16.94 kB / 0.6735 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.31/0.3106, allocations: 116.3 MB / 0.7871 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.001319/0.312, allocations: 0.9844 MB / 0.7881 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.1307/0.4427, allocations: 111.9 MB / 0.8974 GB, free: 10.76 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.747e-05/0.4427, allocations: 0 / 0.8974 GB, free: 10.76 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.862e-05/0.4428, allocations: 0 / 0.8974 GB, free: 10.76 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.894e-05/0.4429, allocations: 3.984 kB / 0.8974 GB, free: 10.76 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003249/0.4432, allocations: 47.84 kB / 0.8974 GB, free: 10.71 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.993e-05/0.4433, allocations: 15.97 kB / 0.8975 GB, free: 10.7 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.16e-05/0.4433, allocations: 11.92 kB / 0.8975 GB, free: 10.68 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.116e-05/0.4434, allocations: 8 kB / 0.8975 GB, free: 10.68 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.885e-05/0.4434, allocations: 15.92 kB / 0.8975 GB, free: 10.66 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.08e-05/0.4435, allocations: 0 / 0.8975 GB, free: 10.66 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.789e-05/0.4435, allocations: 15.94 kB / 0.8975 GB, free: 10.64 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.284e-05/0.4436, allocations: 0 / 0.8975 GB, free: 10.64 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.345e-05/0.4436, allocations: 33.64 kB / 0.8975 GB, free: 10.61 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.168e-05/0.4437, allocations: 16.2 kB / 0.8976 GB, free: 10.59 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.4437, allocations: 4 kB / 0.8976 GB, free: 10.59 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.462e-06/0.4437, allocations: 0 / 0.8976 GB, free: 10.59 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.987e-06/0.4437, allocations: 0 / 0.8976 GB, free: 10.59 MB / 0.7169 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.0003845/0.4441, allocations: 327.4 kB / 0.8979 GB, free: 10.22 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.4441, allocations: 8.031 kB / 0.8979 GB, free: 10.21 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.874e-05/0.4442, allocations: 7.906 kB / 0.8979 GB, free: 10.2 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001088/0.4443, allocations: 167 kB / 0.898 GB, free: 10 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.57e-05/0.4444, allocations: 29.7 kB / 0.8981 GB, free: 9.965 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.578e-06/0.4444, allocations: 0 / 0.8981 GB, free: 9.965 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001182/0.4445, allocations: 45.62 kB / 0.8981 GB, free: 9.914 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.202e-06/0.4445, allocations: 0 / 0.8981 GB, free: 9.914 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.4445, allocations: 3.984 kB / 0.8981 GB, free: 9.91 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-06/0.4445, allocations: 0 / 0.8981 GB, free: 9.91 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.816e-05/0.4446, allocations: 15.98 kB / 0.8981 GB, free: 9.895 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001533/0.4448, allocations: 161.6 kB / 0.8983 GB, free: 9.688 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 8.635e-05/0.4449, allocations: 26.58 kB / 0.8983 GB, free: 9.652 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001545/0.445, allocations: 93.17 kB / 0.8984 GB, free: 9.543 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.903e-05/0.4451, allocations: 38.56 kB / 0.8984 GB, free: 9.496 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.4451, allocations: 3.938 kB / 0.8984 GB, free: 9.492 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0002173/0.4453, allocations: 57.67 kB / 0.8985 GB, free: 9.43 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.217e-05/0.4454, allocations: 51.41 kB / 0.8986 GB, free: 9.367 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.891e-05/0.4454, allocations: 101.8 kB / 0.8986 GB, free: 9.258 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.067e-05/0.4454, allocations: 25.7 kB / 0.8987 GB, free: 9.227 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.636e-05/0.4455, allocations: 80.14 kB / 0.8987 GB, free: 9.145 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.133e-05/0.4455, allocations: 7.812 kB / 0.8988 GB, free: 9.137 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.098e-06/0.4455, allocations: 4 kB / 0.8988 GB, free: 9.133 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.4456, allocations: 318.8 kB / 0.8991 GB, free: 8.812 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.666e-05/0.4457, allocations: 11.98 kB / 0.8991 GB, free: 8.801 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.21e-05/0.4457, allocations: 4 kB / 0.8991 GB, free: 8.797 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.089e-05/0.4458, allocations: 7.984 kB / 0.8991 GB, free: 8.789 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.4458, allocations: 0 / 0.8991 GB, free: 8.789 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001102/0.4459, allocations: 53.62 kB / 0.8991 GB, free: 8.73 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.4459, allocations: 7.938 kB / 0.8991 GB, free: 8.723 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.4459, allocations: 4 kB / 0.8991 GB, free: 8.719 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.038e-05/0.4459, allocations: 0 / 0.8991 GB, free: 8.719 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.602e-05/0.446, allocations: 4 kB / 0.8992 GB, free: 8.715 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.446, allocations: 3.938 kB / 0.8992 GB, free: 8.711 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.314e-05/0.4461, allocations: 11.98 kB / 0.8992 GB, free: 8.699 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.304e-06/0.4461, allocations: 0 / 0.8992 GB, free: 8.699 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.695e-05/0.4462, allocations: 109.8 kB / 0.8993 GB, free: 8.582 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.606e-06/0.4462, allocations: 4 kB / 0.8993 GB, free: 8.578 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001625/0.4463, allocations: 65.11 kB / 0.8993 GB, free: 8.5 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.4463, allocations: 0 / 0.8993 GB, free: 8.5 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.4464, allocations: 0 / 0.8993 GB, free: 8.5 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.4464, allocations: 0 / 0.8993 GB, free: 8.5 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000104/0.4465, allocations: 154.2 kB / 0.8995 GB, free: 8.301 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.4465, allocations: 4 kB / 0.8995 GB, free: 8.297 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.986e-05/0.4465, allocations: 4 kB / 0.8995 GB, free: 8.293 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.4465, allocations: 0 / 0.8995 GB, free: 8.293 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.657e-06/0.4465, allocations: 4 kB / 0.8995 GB, free: 8.289 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.4466, allocations: 0 / 0.8995 GB, free: 8.289 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.4466, allocations: 8 kB / 0.8995 GB, free: 8.281 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001382/0.4467, allocations: 81.03 kB / 0.8996 GB, free: 8.184 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.883e-05/0.4468, allocations: 84.97 kB / 0.8997 GB, free: 8.082 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.114e-05/0.4468, allocations: 4 kB / 0.8997 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.835e-05/0.4468, allocations: 3.984 kB / 0.8997 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.189e-05/0.4469, allocations: 0 / 0.8997 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.773e-06/0.4469, allocations: 8 kB / 0.8997 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.153e-05/0.4469, allocations: 79.28 kB / 0.8998 GB, free: 7.988 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.1e-07/0.4469, allocations: 0 / 0.8998 GB, free: 7.988 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001862/0.4471, allocations: 15.94 kB / 0.8998 GB, free: 7.973 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001665/0.4473, allocations: 107.2 kB / 0.8999 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001357/0.4474, allocations: 19.98 kB / 0.8999 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.4474, allocations: 0 / 0.8999 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.497e-05/0.4475, allocations: 15.92 kB / 0.8999 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001777/0.4477, allocations: 12 kB / 0.8999 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002578/0.4479, allocations: 136.7 kB / 0.9 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002056/0.4482, allocations: 0.677 MB / 0.9007 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.909e-05/0.4482, allocations: 8 kB / 0.9007 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.475e-05/0.4482, allocations: 7.438 kB / 0.9007 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/0.4482, allocations: 0 / 0.9007 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of Templates: time 0.002646/0.4509, allocations: 463.7 kB / 0.9012 GB, free: 6.477 MB / 0.7169 GB make -j1 -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & ./Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) Environment - environmentSimulation: