Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.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.Examples.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") translateModel(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.377/1.377, allocations: 252 MB / 268 MB, free: 10.87 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.001093/0.001093, allocations: 181.4 kB / 327.6 MB, free: 2.09 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.276/2.276, allocations: 205.4 MB / 0.5786 GB, free: 20.11 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.0008628/0.000863, allocations: 78.36 kB / 0.6832 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004777/0.0004779, allocations: 8.938 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2791/0.2796, allocations: 106.3 MB / 0.9014 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.002258/0.282, allocations: 1.417 MB / 0.9028 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1814/0.4634, allocations: 145.8 MB / 1.045 GB, free: 11.71 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001962/0.4636, allocations: 7.875 kB / 1.045 GB, free: 11.7 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0002285/0.4639, allocations: 15.92 kB / 1.045 GB, free: 11.69 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0003424/0.4642, allocations: 39.72 kB / 1.045 GB, free: 11.65 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006396/0.4649, allocations: 159.5 kB / 1.045 GB, free: 11.49 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002779/0.4652, allocations: 147.5 kB / 1.046 GB, free: 11.35 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001524/0.4653, allocations: 31.97 kB / 1.046 GB, free: 11.32 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002652/0.468, allocations: 164.2 kB / 1.046 GB, free: 11.18 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001497/0.4682, allocations: 51.81 kB / 1.046 GB, free: 11.12 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.45e-05/0.4682, allocations: 4 kB / 1.046 GB, free: 11.12 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003929/0.4686, allocations: 159.7 kB / 1.046 GB, free: 10.96 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 5.505e-05/0.4687, allocations: 27.91 kB / 1.046 GB, free: 10.94 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001003/0.4688, allocations: 69.42 kB / 1.046 GB, free: 10.86 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003223/0.4691, allocations: 136 kB / 1.046 GB, free: 10.73 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.4691, allocations: 0 / 1.046 GB, free: 10.73 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.883e-06/0.4691, allocations: 0 / 1.046 GB, free: 10.73 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.755e-06/0.4692, allocations: 0 / 1.046 GB, free: 10.73 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0009554/0.4701, allocations: 455.1 kB / 1.047 GB, free: 10.24 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.39e-05/0.4702, allocations: 12.03 kB / 1.047 GB, free: 10.23 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000702/0.4709, allocations: 56.78 kB / 1.047 GB, free: 10.17 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002852/0.4712, allocations: 198.8 kB / 1.047 GB, free: 9.938 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.4712, allocations: 8 kB / 1.047 GB, free: 9.93 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.673e-05/0.4712, allocations: 4 kB / 1.047 GB, free: 9.926 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005284/0.4718, allocations: 203.6 kB / 1.047 GB, free: 9.707 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.4718, allocations: 0 / 1.047 GB, free: 9.707 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.067e-05/0.4718, allocations: 8 kB / 1.047 GB, free: 9.699 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.4718, allocations: 0 / 1.047 GB, free: 9.699 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005397/0.4724, allocations: 171.8 kB / 1.047 GB, free: 9.531 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001296/0.4737, allocations: 0.8283 MB / 1.048 GB, free: 8.625 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004089/0.4741, allocations: 138.5 kB / 1.048 GB, free: 8.48 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002807/0.4744, allocations: 92.8 kB / 1.048 GB, free: 8.387 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.285e-05/0.4744, allocations: 7.984 kB / 1.048 GB, free: 8.379 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.272e-05/0.4745, allocations: 34.5 kB / 1.048 GB, free: 8.336 MB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 1.082e-06/0.4745, allocations: 0 / 1.048 GB, free: 8.336 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.002/0.4765, allocations: 495.3 kB / 1.049 GB, free: 7.824 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.844e-05/0.4765, allocations: 55.41 kB / 1.049 GB, free: 7.758 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000146/0.4767, allocations: 155.8 kB / 1.049 GB, free: 7.598 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.357e-05/0.4767, allocations: 25.7 kB / 1.049 GB, free: 7.566 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.433e-05/0.4768, allocations: 107.9 kB / 1.049 GB, free: 7.457 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.864e-05/0.4769, allocations: 23.56 kB / 1.049 GB, free: 7.434 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.901e-05/0.4769, allocations: 8 kB / 1.049 GB, free: 7.426 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001197/0.477, allocations: 322.8 kB / 1.049 GB, free: 7.102 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002625/0.4773, allocations: 83.94 kB / 1.05 GB, free: 7.02 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002751/0.4776, allocations: 112.2 kB / 1.05 GB, free: 6.895 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005401/0.4781, allocations: 200.1 kB / 1.05 GB, free: 6.684 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.4781, allocations: 0 / 1.05 GB, free: 6.684 MB / 0.698 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001128/0.4793, allocations: 302.1 kB / 1.05 GB, free: 6.379 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/0.4793, allocations: 7.938 kB / 1.05 GB, free: 6.371 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/0.4793, allocations: 11.92 kB / 1.05 GB, free: 6.359 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006219/0.4799, allocations: 80.89 kB / 1.05 GB, free: 6.277 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002432/0.4802, allocations: 43.91 kB / 1.05 GB, free: 6.234 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002501/0.4827, allocations: 1.557 MB / 1.052 GB, free: 4.543 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002635/0.483, allocations: 24.05 kB / 1.052 GB, free: 4.52 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.437e-05/0.483, allocations: 7.984 kB / 1.052 GB, free: 4.512 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001634/0.4832, allocations: 125.7 kB / 1.052 GB, free: 4.379 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.346e-05/0.4832, allocations: 7.906 kB / 1.052 GB, free: 4.371 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001146/0.4844, allocations: 341.5 kB / 1.052 GB, free: 4.031 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.4844, allocations: 0 / 1.052 GB, free: 4.031 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.714e-06/0.4844, allocations: 0 / 1.052 GB, free: 4.031 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.4844, allocations: 3.938 kB / 1.052 GB, free: 4.027 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003454/0.4848, allocations: 237.6 kB / 1.052 GB, free: 3.746 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.4848, allocations: 0 / 1.052 GB, free: 3.746 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002304/0.485, allocations: 35.91 kB / 1.053 GB, free: 3.711 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005019/0.4856, allocations: 92.75 kB / 1.053 GB, free: 3.617 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.044e-05/0.4856, allocations: 4 kB / 1.053 GB, free: 3.613 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002097/0.4877, allocations: 1.579 MB / 1.054 GB, free: 1.895 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/0.4877, allocations: 4 kB / 1.054 GB, free: 1.891 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001113/0.4888, allocations: 396 kB / 1.055 GB, free: 1.484 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.295e-05/0.4889, allocations: 85 kB / 1.055 GB, free: 1.383 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.466e-05/0.4889, allocations: 12 kB / 1.055 GB, free: 1.371 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002245/0.4892, allocations: 15.98 kB / 1.055 GB, free: 1.355 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.871e-05/0.4893, allocations: 19.97 kB / 1.055 GB, free: 1.336 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.5e-05/0.4893, allocations: 0 / 1.055 GB, free: 1.336 MB / 0.698 GB Notification: Performance of sorting global known variables: time 8.675e-05/0.4894, allocations: 105.2 kB / 1.055 GB, free: 1.234 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4894, allocations: 0 / 1.055 GB, free: 1.234 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003401/0.4897, allocations: 47.94 kB / 1.055 GB, free: 1.188 MB / 0.698 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002548/0.49, allocations: 123.1 kB / 1.055 GB, free: 1.059 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001008/0.491, allocations: 334.6 kB / 1.055 GB, free: 0.7188 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.491, allocations: 4 kB / 1.055 GB, free: 0.7148 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005879/0.4916, allocations: 234.6 kB / 1.055 GB, free: 484 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003503/0.492, allocations: 27.91 kB / 1.056 GB, free: 456 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009384/0.4929, allocations: 381.8 kB / 1.056 GB, free: 44 kB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4291/0.9221, allocations: 0.7049 MB / 1.057 GB, free: 156.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001276/0.9222, allocations: 19.97 kB / 1.057 GB, free: 156.2 MB / 0.698 GB Notification: Performance of SimCode: time 1.423e-06/0.9222, allocations: 0 / 1.057 GB, free: 156.2 MB / 0.698 GB Notification: Performance of Templates: time 0.006921/0.9292, allocations: 2.699 MB / 1.059 GB, free: 156.1 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1)