Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.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/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.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.Density_pTX") translateModel(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.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.001158/0.001159, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001215/0.001215, allocations: 191.9 kB / 16.25 MB, free: 6.637 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.442/1.442, allocations: 222.9 MB / 239.9 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.872/2.872, allocations: 472.6 MB / 0.7448 GB, free: 4.887 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001867/0.001867, allocations: 70.66 kB / 0.9115 GB, free: 33.53 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3533/0.3552, allocations: 159.9 MB / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002837/0.3581, allocations: 1.543 MB / 1.069 GB, free: 9.25 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1362/0.4943, allocations: 130.1 MB / 1.196 GB, free: 6.652 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.958e-05/0.4944, allocations: 0 / 1.196 GB, free: 6.652 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.803e-05/0.4945, allocations: 0 / 1.196 GB, free: 6.652 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 6.713e-05/0.4946, allocations: 11.86 kB / 1.196 GB, free: 6.641 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003672/0.4949, allocations: 67.78 kB / 1.196 GB, free: 6.574 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 9.765e-05/0.4951, allocations: 55.69 kB / 1.196 GB, free: 6.523 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.4952, allocations: 20.2 kB / 1.196 GB, free: 6.504 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 5.234e-05/0.4952, allocations: 19.92 kB / 1.196 GB, free: 6.484 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 4.979e-05/0.4953, allocations: 19.92 kB / 1.196 GB, free: 6.465 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.581e-05/0.4953, allocations: 4 kB / 1.196 GB, free: 6.461 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 9.48e-05/0.4954, allocations: 23.92 kB / 1.196 GB, free: 6.438 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.111e-05/0.4954, allocations: 11.92 kB / 1.196 GB, free: 6.426 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.818e-05/0.4955, allocations: 23.92 kB / 1.196 GB, free: 6.402 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001435/0.4956, allocations: 51.81 kB / 1.197 GB, free: 6.352 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.4956, allocations: 4 kB / 1.197 GB, free: 6.348 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.533e-06/0.4957, allocations: 0 / 1.197 GB, free: 6.348 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.552e-06/0.4957, allocations: 0 / 1.197 GB, free: 6.348 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005311/0.4962, allocations: 371.3 kB / 1.197 GB, free: 5.934 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.4963, allocations: 8.031 kB / 1.197 GB, free: 5.926 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.25e-05/0.4963, allocations: 4.938 kB / 1.197 GB, free: 5.922 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001161/0.4964, allocations: 180.2 kB / 1.197 GB, free: 5.707 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.4964, allocations: 4.375 kB / 1.197 GB, free: 5.703 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.333e-05/0.4965, allocations: 4.375 kB / 1.197 GB, free: 5.699 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002705/0.4967, allocations: 70.22 kB / 1.197 GB, free: 5.625 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.4968, allocations: 4.125 kB / 1.197 GB, free: 5.621 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.545e-05/0.4968, allocations: 11.86 kB / 1.197 GB, free: 5.609 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.4968, allocations: 4 kB / 1.197 GB, free: 5.605 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002938/0.4971, allocations: 67.92 kB / 1.197 GB, free: 5.539 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003913/0.4975, allocations: 280.8 kB / 1.198 GB, free: 5.215 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00021/0.4977, allocations: 62.45 kB / 1.198 GB, free: 5.145 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001521/0.4979, allocations: 40.92 kB / 1.198 GB, free: 5.102 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000171/0.4981, allocations: 89.09 kB / 1.198 GB, free: 4.996 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.485e-05/0.4981, allocations: 30.56 kB / 1.198 GB, free: 4.957 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 1.392e-06/0.4981, allocations: 0 / 1.198 GB, free: 4.957 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.0005432/0.4986, allocations: 133.6 kB / 1.198 GB, free: 4.82 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.061e-05/0.4987, allocations: 51.41 kB / 1.198 GB, free: 4.758 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.581e-05/0.4988, allocations: 125.6 kB / 1.198 GB, free: 4.625 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.436e-05/0.4988, allocations: 29.69 kB / 1.198 GB, free: 4.59 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4e-05/0.4989, allocations: 91.98 kB / 1.198 GB, free: 4.496 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.037e-05/0.4989, allocations: 11.91 kB / 1.198 GB, free: 4.484 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.657e-05/0.4989, allocations: 17.66 kB / 1.198 GB, free: 4.461 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.53e-05/0.499, allocations: 326.8 kB / 1.198 GB, free: 4.133 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001442/0.4992, allocations: 23.97 kB / 1.198 GB, free: 4.109 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001342/0.4993, allocations: 35.95 kB / 1.199 GB, free: 4.074 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002691/0.4996, allocations: 64.8 kB / 1.199 GB, free: 4.008 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.4996, allocations: 0 / 1.199 GB, free: 4.008 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003173/0.4999, allocations: 101.6 kB / 1.199 GB, free: 3.902 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.5, allocations: 9.562 kB / 1.199 GB, free: 3.895 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.5, allocations: 7.984 kB / 1.199 GB, free: 3.887 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.5, allocations: 0 / 1.199 GB, free: 3.887 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001232/0.5001, allocations: 19.92 kB / 1.199 GB, free: 3.867 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.5001, allocations: 0 / 1.199 GB, free: 3.867 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.355e-05/0.5002, allocations: 15.89 kB / 1.199 GB, free: 3.852 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/0.5002, allocations: 0 / 1.199 GB, free: 3.852 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 7.839e-05/0.5003, allocations: 113.8 kB / 1.199 GB, free: 3.73 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.958e-05/0.5003, allocations: 8 kB / 1.199 GB, free: 3.723 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003602/0.5007, allocations: 105.5 kB / 1.199 GB, free: 3.605 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.766e-06/0.5007, allocations: 0 / 1.199 GB, free: 3.605 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.5007, allocations: 0 / 1.199 GB, free: 3.605 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.5007, allocations: 0 / 1.199 GB, free: 3.605 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001709/0.5009, allocations: 181.6 kB / 1.199 GB, free: 3.379 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.5009, allocations: 0 / 1.199 GB, free: 3.379 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001034/0.501, allocations: 23.98 kB / 1.199 GB, free: 3.355 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/0.501, allocations: 0 / 1.199 GB, free: 3.355 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.5011, allocations: 7.938 kB / 1.199 GB, free: 3.348 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.5011, allocations: 0 / 1.199 GB, free: 3.348 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.5011, allocations: 0 / 1.199 GB, free: 3.348 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003731/0.5015, allocations: 203.6 kB / 1.199 GB, free: 3.133 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.835e-05/0.5015, allocations: 81.11 kB / 1.199 GB, free: 3.035 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.581e-05/0.5015, allocations: 0 / 1.199 GB, free: 3.035 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001152/0.5016, allocations: 12.03 kB / 1.199 GB, free: 3.023 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.912e-05/0.5017, allocations: 15.91 kB / 1.199 GB, free: 3.008 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-06/0.5017, allocations: 0 / 1.199 GB, free: 3.008 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.411e-05/0.5018, allocations: 95.27 kB / 1.2 GB, free: 2.914 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5018, allocations: 0 / 1.2 GB, free: 2.914 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002543/0.502, allocations: 23.84 kB / 1.2 GB, free: 2.891 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.0001517/0.5022, allocations: 111.2 kB / 1.2 GB, free: 2.773 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003585/0.5026, allocations: 71.86 kB / 1.2 GB, free: 2.703 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.5026, allocations: 0 / 1.2 GB, free: 2.703 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001511/0.5027, allocations: 35.97 kB / 1.2 GB, free: 2.668 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003482/0.5031, allocations: 19.92 kB / 1.2 GB, free: 2.648 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003681/0.5035, allocations: 167.6 kB / 1.2 GB, free: 2.457 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002207/0.5037, allocations: 0.6846 MB / 1.201 GB, free: 1.746 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.867e-05/0.5037, allocations: 4 kB / 1.201 GB, free: 1.742 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.186e-05/0.5038, allocations: 15.44 kB / 1.201 GB, free: 1.727 MB / 0.9512 GB Notification: Performance of SimCode: time 2.31e-07/0.5038, allocations: 0 / 1.201 GB, free: 1.727 MB / 0.9512 GB Notification: Performance of Templates: time 0.003238/0.507, allocations: 0.8822 MB / 1.202 GB, free: 0.8555 MB / 0.9512 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & ./Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.Density_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1)