Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.476/1.476, allocations: 251.5 MB / 267.4 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001205/0.001206, allocations: 175.6 kB / 326.5 MB, free: 2.684 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.203/2.203, allocations: 205 MB / 0.5766 GB, free: 20.94 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009798/0.0009798, allocations: 94.64 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004069/0.0004069, allocations: 8.562 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2536/0.254, allocations: 105.4 MB / 0.8967 GB, free: 68.18 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.001577/0.2556, allocations: 1.01 MB / 0.8977 GB, free: 67.16 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1465/0.4021, allocations: 129.9 MB / 1.025 GB, free: 0.7852 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.592e-05/0.4022, allocations: 7.938 kB / 1.025 GB, free: 0.7773 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 2.788e-05/0.4023, allocations: 0 / 1.025 GB, free: 0.7773 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 7.091e-05/0.4023, allocations: 7.922 kB / 1.025 GB, free: 0.7695 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004168/0.4028, allocations: 55.73 kB / 1.025 GB, free: 0.7148 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 8.478e-05/0.4029, allocations: 23.81 kB / 1.025 GB, free: 0.6914 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 5.15e-05/0.4029, allocations: 7.984 kB / 1.025 GB, free: 0.6836 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 4.814e-05/0.403, allocations: 7.984 kB / 1.025 GB, free: 0.6758 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 6.712e-05/0.403, allocations: 4 kB / 1.025 GB, free: 0.6719 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 2.538e-05/0.4031, allocations: 7.938 kB / 1.025 GB, free: 0.6641 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 9.386e-05/0.4032, allocations: 11.98 kB / 1.025 GB, free: 0.6523 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 1.631e-05/0.4032, allocations: 8 kB / 1.025 GB, free: 0.6445 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 3.407e-05/0.4032, allocations: 8 kB / 1.025 GB, free: 0.6367 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 9.795e-05/0.4034, allocations: 11.98 kB / 1.025 GB, free: 0.625 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.4034, allocations: 3.938 kB / 1.025 GB, free: 0.6211 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.474e-06/0.4034, allocations: 0 / 1.025 GB, free: 0.6211 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.4034, allocations: 0 / 1.025 GB, free: 0.6211 MB / 0.6667 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.0004469/0.4038, allocations: 327.5 kB / 1.025 GB, free: 256 kB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.4039, allocations: 8.031 kB / 1.025 GB, free: 248 kB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.937e-05/0.4039, allocations: 0.9375 kB / 1.025 GB, free: 248 kB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000137/0.4041, allocations: 180.3 kB / 1.025 GB, free: 28 kB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001047/0.4042, allocations: 26.27 kB / 1.025 GB, free: 16 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.274e-05/0.4042, allocations: 8.312 kB / 1.025 GB, free: 15.99 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001421/0.4044, allocations: 34.25 kB / 1.025 GB, free: 15.95 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.4044, allocations: 3.938 kB / 1.025 GB, free: 15.95 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.4044, allocations: 4 kB / 1.025 GB, free: 15.94 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.4044, allocations: 4 kB / 1.025 GB, free: 15.94 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.157e-05/0.4045, allocations: 7.984 kB / 1.025 GB, free: 15.93 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001955/0.4047, allocations: 157.7 kB / 1.025 GB, free: 15.73 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001007/0.4048, allocations: 30.58 kB / 1.025 GB, free: 15.69 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.701e-05/0.4049, allocations: 16.88 kB / 1.025 GB, free: 15.67 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001879/0.4051, allocations: 97.06 kB / 1.026 GB, free: 15.55 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.642e-05/0.4051, allocations: 34.56 kB / 1.026 GB, free: 15.51 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=3): time 1.684e-06/0.4051, allocations: 4 kB / 1.026 GB, free: 15.51 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3): time 0.0002611/0.4054, allocations: 61.61 kB / 1.026 GB, free: 15.44 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.799e-05/0.4054, allocations: 51.41 kB / 1.026 GB, free: 15.38 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.726e-05/0.4055, allocations: 93.86 kB / 1.026 GB, free: 15.28 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.615e-05/0.4056, allocations: 29.7 kB / 1.026 GB, free: 15.24 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.949e-05/0.4056, allocations: 80.14 kB / 1.026 GB, free: 15.16 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.651e-05/0.4056, allocations: 3.906 kB / 1.026 GB, free: 15.16 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.8e-05/0.4057, allocations: 13.72 kB / 1.026 GB, free: 15.14 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001205/0.4058, allocations: 322.8 kB / 1.026 GB, free: 14.81 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.409e-05/0.4059, allocations: 7.938 kB / 1.026 GB, free: 14.8 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.54e-05/0.4059, allocations: 15.92 kB / 1.026 GB, free: 14.79 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.094e-05/0.406, allocations: 20.86 kB / 1.026 GB, free: 14.77 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.406, allocations: 0 / 1.026 GB, free: 14.77 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001307/0.4061, allocations: 49.67 kB / 1.026 GB, free: 14.71 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.4062, allocations: 11.94 kB / 1.026 GB, free: 14.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.595e-06/0.4062, allocations: 4 kB / 1.026 GB, free: 14.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.4062, allocations: 3.938 kB / 1.026 GB, free: 14.69 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.003e-05/0.4063, allocations: 4 kB / 1.026 GB, free: 14.69 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.746e-06/0.4063, allocations: 0 / 1.026 GB, free: 14.69 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.383e-05/0.4063, allocations: 15.86 kB / 1.026 GB, free: 14.67 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-06/0.4063, allocations: 0 / 1.026 GB, free: 14.67 MB / 0.6823 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.091e-05/0.4064, allocations: 109.8 kB / 1.026 GB, free: 14.55 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.696e-05/0.4064, allocations: 11.84 kB / 1.026 GB, free: 14.54 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001743/0.4066, allocations: 57.17 kB / 1.027 GB, free: 14.48 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.4066, allocations: 0 / 1.027 GB, free: 14.48 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.4067, allocations: 0 / 1.027 GB, free: 14.48 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.4067, allocations: 0 / 1.027 GB, free: 14.48 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001159/0.4068, allocations: 153.7 kB / 1.027 GB, free: 14.28 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.4068, allocations: 4 kB / 1.027 GB, free: 14.27 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.385e-05/0.4068, allocations: 8 kB / 1.027 GB, free: 14.27 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.848e-06/0.4068, allocations: 3.938 kB / 1.027 GB, free: 14.26 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.163e-06/0.4069, allocations: 0 / 1.027 GB, free: 14.26 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.4069, allocations: 0 / 1.027 GB, free: 14.26 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.4069, allocations: 7.938 kB / 1.027 GB, free: 14.25 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001652/0.407, allocations: 77.67 kB / 1.027 GB, free: 14.16 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.722e-05/0.4071, allocations: 77.11 kB / 1.027 GB, free: 14.07 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.645e-05/0.4072, allocations: 7.938 kB / 1.027 GB, free: 14.06 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.763e-05/0.4072, allocations: 0 / 1.027 GB, free: 14.06 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.396e-05/0.4073, allocations: 4.031 kB / 1.027 GB, free: 14.05 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.306e-06/0.4073, allocations: 3.984 kB / 1.027 GB, free: 14.05 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.039e-05/0.4073, allocations: 83.28 kB / 1.027 GB, free: 13.97 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1e-07/0.4073, allocations: 0 / 1.027 GB, free: 13.97 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0001835/0.4075, allocations: 16 kB / 1.027 GB, free: 13.95 MB / 0.6823 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.0001801/0.4077, allocations: 107.2 kB / 1.027 GB, free: 13.84 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001457/0.4078, allocations: 23.92 kB / 1.027 GB, free: 13.81 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.4079, allocations: 0 / 1.027 GB, free: 13.81 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 4.565e-05/0.4079, allocations: 11.98 kB / 1.027 GB, free: 13.8 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002215/0.4081, allocations: 8 kB / 1.027 GB, free: 13.79 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003387/0.4085, allocations: 159 kB / 1.027 GB, free: 13.61 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002565/0.4088, allocations: 0.6847 MB / 1.028 GB, free: 12.89 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.499e-05/0.4088, allocations: 11.44 kB / 1.028 GB, free: 12.88 MB / 0.6823 GB Notification: Performance of SimCode: time 3.8e-07/0.4088, allocations: 0 / 1.028 GB, free: 12.88 MB / 0.6823 GB Notification: Performance of Templates: time 0.002089/0.4109, allocations: 0.5679 MB / 1.029 GB, free: 12.31 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1)