Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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_3.0.0_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.001414/0.001414, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 197.7 kB / 16.54 MB, free: 6.672 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 / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.812/2.812, allocations: 472.6 MB / 0.7451 GB, free: 4.625 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 70.3 kB / 0.912 GB, free: 33.35 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3445/0.3458, allocations: 159.9 MB / 1.068 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.003182/0.3491, allocations: 1.27 MB / 1.069 GB, free: 9.156 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1406/0.4897, allocations: 132 MB / 1.198 GB, free: 4.613 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.468e-05/0.4898, allocations: 0 / 1.198 GB, free: 4.613 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 2.67e-05/0.4899, allocations: 7.938 kB / 1.198 GB, free: 4.605 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 6.146e-05/0.49, allocations: 3.984 kB / 1.198 GB, free: 4.602 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003965/0.4904, allocations: 63.66 kB / 1.198 GB, free: 4.539 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 7.698e-05/0.4905, allocations: 11.94 kB / 1.198 GB, free: 4.527 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.934e-05/0.4905, allocations: 11.98 kB / 1.198 GB, free: 4.516 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 4.19e-05/0.4906, allocations: 4 kB / 1.198 GB, free: 4.512 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 5.746e-05/0.4906, allocations: 7.938 kB / 1.198 GB, free: 4.504 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.84e-05/0.4907, allocations: 8 kB / 1.198 GB, free: 4.496 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 8.727e-05/0.4908, allocations: 15.92 kB / 1.198 GB, free: 4.48 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.929e-05/0.4908, allocations: 7.984 kB / 1.198 GB, free: 4.473 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.029e-05/0.4908, allocations: 11.94 kB / 1.199 GB, free: 4.461 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001125/0.4909, allocations: 24.19 kB / 1.199 GB, free: 4.438 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.491, allocations: 0 / 1.199 GB, free: 4.438 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.222e-06/0.491, allocations: 0 / 1.199 GB, free: 4.438 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 9.257e-06/0.491, allocations: 0 / 1.199 GB, free: 4.438 MB / 0.9512 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.0004166/0.4914, allocations: 327.6 kB / 1.199 GB, free: 4.066 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/0.4915, allocations: 12.03 kB / 1.199 GB, free: 4.055 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.935e-05/0.4915, allocations: 12.78 kB / 1.199 GB, free: 4.043 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001135/0.4916, allocations: 164.3 kB / 1.199 GB, free: 3.844 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.97e-05/0.4917, allocations: 34.27 kB / 1.199 GB, free: 3.805 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.062e-05/0.4917, allocations: 384 / 1.199 GB, free: 3.805 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001275/0.4919, allocations: 38.19 kB / 1.199 GB, free: 3.762 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.4919, allocations: 11.92 kB / 1.199 GB, free: 3.75 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.4919, allocations: 0 / 1.199 GB, free: 3.75 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.4919, allocations: 0 / 1.199 GB, free: 3.75 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.018e-05/0.492, allocations: 16 kB / 1.199 GB, free: 3.734 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001722/0.4922, allocations: 153.7 kB / 1.199 GB, free: 3.535 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 9.794e-05/0.4923, allocations: 30.61 kB / 1.199 GB, free: 3.496 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.379e-05/0.4924, allocations: 8.859 kB / 1.199 GB, free: 3.484 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001785/0.4926, allocations: 89.19 kB / 1.199 GB, free: 3.379 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.077e-05/0.4926, allocations: 38.56 kB / 1.199 GB, free: 3.332 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 1.443e-06/0.4926, allocations: 7.875 kB / 1.199 GB, free: 3.324 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.0002712/0.4929, allocations: 61.61 kB / 1.199 GB, free: 3.258 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.899e-05/0.4929, allocations: 51.41 kB / 1.2 GB, free: 3.195 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.363e-05/0.493, allocations: 97.84 kB / 1.2 GB, free: 3.09 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.45e-05/0.493, allocations: 25.7 kB / 1.2 GB, free: 3.059 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 2.751e-05/0.4931, allocations: 80.14 kB / 1.2 GB, free: 2.977 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.068e-05/0.4931, allocations: 19.81 kB / 1.2 GB, free: 2.957 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.413e-05/0.4931, allocations: 9.719 kB / 1.2 GB, free: 2.941 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.4933, allocations: 318.8 kB / 1.2 GB, free: 2.621 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.044e-05/0.4933, allocations: 11.98 kB / 1.2 GB, free: 2.609 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.819e-05/0.4934, allocations: 4 kB / 1.2 GB, free: 2.605 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.909e-05/0.4934, allocations: 25.25 kB / 1.2 GB, free: 2.578 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.4935, allocations: 4 kB / 1.2 GB, free: 2.574 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001345/0.4936, allocations: 53.72 kB / 1.2 GB, free: 2.516 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.4936, allocations: 13.17 kB / 1.2 GB, free: 2.504 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.4936, allocations: 0 / 1.2 GB, free: 2.504 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.4937, allocations: 4 kB / 1.2 GB, free: 2.5 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.461e-05/0.4937, allocations: 4 kB / 1.2 GB, free: 2.496 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.4938, allocations: 0 / 1.2 GB, free: 2.496 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.219e-05/0.4938, allocations: 0 / 1.2 GB, free: 2.496 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.669e-06/0.4938, allocations: 4 kB / 1.2 GB, free: 2.492 MB / 0.9512 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 0.0001051/0.4939, allocations: 110.4 kB / 1.2 GB, free: 2.375 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.285e-05/0.4939, allocations: 11.88 kB / 1.2 GB, free: 2.363 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001778/0.4941, allocations: 61.11 kB / 1.2 GB, free: 2.293 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.4941, allocations: 0 / 1.2 GB, free: 2.293 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.4941, allocations: 0 / 1.2 GB, free: 2.293 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.4942, allocations: 0 / 1.2 GB, free: 2.293 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001119/0.4943, allocations: 157.7 kB / 1.201 GB, free: 2.09 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-06/0.4943, allocations: 0 / 1.201 GB, free: 2.09 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.699e-05/0.4943, allocations: 7.984 kB / 1.201 GB, free: 2.082 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.211e-06/0.4943, allocations: 7.938 kB / 1.201 GB, free: 2.074 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.286e-06/0.4944, allocations: 4 kB / 1.201 GB, free: 2.07 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.4944, allocations: 0 / 1.201 GB, free: 2.07 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.4944, allocations: 0 / 1.201 GB, free: 2.07 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001473/0.4945, allocations: 80.97 kB / 1.201 GB, free: 1.973 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.491e-05/0.4946, allocations: 81.09 kB / 1.201 GB, free: 1.875 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.521e-05/0.4946, allocations: 3.938 kB / 1.201 GB, free: 1.871 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.052e-05/0.4946, allocations: 4 kB / 1.201 GB, free: 1.867 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.177e-05/0.4947, allocations: 4 kB / 1.201 GB, free: 1.863 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/0.4947, allocations: 3.984 kB / 1.201 GB, free: 1.859 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 3.401e-05/0.4947, allocations: 83.28 kB / 1.201 GB, free: 1.777 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4948, allocations: 0 / 1.201 GB, free: 1.777 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002026/0.495, allocations: 19.88 kB / 1.201 GB, free: 1.758 MB / 0.9512 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.0001739/0.4951, allocations: 107.2 kB / 1.201 GB, free: 1.641 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001566/0.4953, allocations: 23.92 kB / 1.201 GB, free: 1.617 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.4953, allocations: 0 / 1.201 GB, free: 1.617 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 5.162e-05/0.4954, allocations: 15.98 kB / 1.201 GB, free: 1.602 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002779/0.4957, allocations: 14.23 kB / 1.201 GB, free: 1.59 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003352/0.496, allocations: 119.7 kB / 1.201 GB, free: 1.445 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000229/0.4962, allocations: 0.6768 MB / 1.202 GB, free: 0.7422 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 4.672e-05/0.4963, allocations: 8 kB / 1.202 GB, free: 0.7344 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.021e-05/0.4963, allocations: 7.438 kB / 1.202 GB, free: 0.7266 MB / 0.9512 GB Notification: Performance of SimCode: time 5.51e-07/0.4963, allocations: 0 / 1.202 GB, free: 0.7266 MB / 0.9512 GB Notification: Performance of Templates: time 0.002938/0.4993, allocations: 0.5255 MB / 1.202 GB, free: 208 kB / 0.9512 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & ./Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1)