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.467/1.467, allocations: 251.5 MB / 267.4 MB, free: 11.06 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.001007/0.001007, allocations: 168.8 kB / 326.5 MB, free: 2.703 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.546/1.546, allocations: 205 MB / 0.5766 GB, free: 20.99 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.0008766/0.0008767, allocations: 96.91 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002929/0.0002929, allocations: 14.22 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.182/0.1823, allocations: 105.4 MB / 0.8967 GB, free: 68.21 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.001719/0.1841, allocations: 1.422 MB / 0.8981 GB, free: 66.77 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1429/0.327, allocations: 147.4 MB / 1.042 GB, free: 14.82 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000117/0.3272, allocations: 0 / 1.042 GB, free: 14.82 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001819/0.3274, allocations: 15.86 kB / 1.042 GB, free: 14.8 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0002528/0.3276, allocations: 39.78 kB / 1.042 GB, free: 14.76 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005021/0.3281, allocations: 163.5 kB / 1.042 GB, free: 14.6 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002003/0.3284, allocations: 143.6 kB / 1.042 GB, free: 14.46 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001406/0.3285, allocations: 23.98 kB / 1.042 GB, free: 14.44 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002294/0.3308, allocations: 170.2 kB / 1.043 GB, free: 14.29 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001234/0.331, allocations: 55.81 kB / 1.043 GB, free: 14.24 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.932e-05/0.331, allocations: 4 kB / 1.043 GB, free: 14.23 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003458/0.3313, allocations: 163.7 kB / 1.043 GB, free: 14.07 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 4.77e-05/0.3314, allocations: 15.98 kB / 1.043 GB, free: 14.06 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 7.503e-05/0.3315, allocations: 47.7 kB / 1.043 GB, free: 14.01 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002849/0.3318, allocations: 139.7 kB / 1.043 GB, free: 13.88 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3318, allocations: 0 / 1.043 GB, free: 13.88 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.803e-06/0.3318, allocations: 0 / 1.043 GB, free: 13.88 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.061e-06/0.3318, allocations: 0 / 1.043 GB, free: 13.88 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.000978/0.3328, allocations: 455.1 kB / 1.043 GB, free: 13.38 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.3328, allocations: 8.031 kB / 1.043 GB, free: 13.38 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006842/0.3335, allocations: 56.78 kB / 1.043 GB, free: 13.32 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002514/0.3338, allocations: 194.8 kB / 1.044 GB, free: 13.09 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.874e-05/0.3338, allocations: 11.94 kB / 1.044 GB, free: 13.08 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.651e-05/0.3339, allocations: 8 kB / 1.044 GB, free: 13.07 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004948/0.3344, allocations: 199.4 kB / 1.044 GB, free: 12.86 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.3344, allocations: 0 / 1.044 GB, free: 12.86 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.103e-05/0.3344, allocations: 12 kB / 1.044 GB, free: 12.84 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.3344, allocations: 0 / 1.044 GB, free: 12.84 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005198/0.3349, allocations: 163.8 kB / 1.044 GB, free: 12.68 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001247/0.3362, allocations: 0.8361 MB / 1.045 GB, free: 11.77 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000428/0.3366, allocations: 142.4 kB / 1.045 GB, free: 11.62 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002698/0.3369, allocations: 96.8 kB / 1.045 GB, free: 11.52 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.098e-05/0.337, allocations: 3.984 kB / 1.045 GB, free: 11.52 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.512e-05/0.337, allocations: 34.56 kB / 1.045 GB, free: 11.48 MB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 1.312e-06/0.337, allocations: 4 kB / 1.045 GB, free: 11.47 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.001965/0.339, allocations: 491.3 kB / 1.046 GB, free: 10.96 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.721e-05/0.339, allocations: 55.41 kB / 1.046 GB, free: 10.9 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001335/0.3392, allocations: 150.5 kB / 1.046 GB, free: 10.74 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.198e-05/0.3392, allocations: 25.7 kB / 1.046 GB, free: 10.71 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.304e-05/0.3393, allocations: 112 kB / 1.046 GB, free: 10.6 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.083e-05/0.3393, allocations: 23.56 kB / 1.046 GB, free: 10.57 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.326e-05/0.3394, allocations: 25.7 kB / 1.046 GB, free: 10.54 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.3395, allocations: 318.8 kB / 1.046 GB, free: 10.22 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002558/0.3398, allocations: 79.92 kB / 1.046 GB, free: 10.14 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003094/0.3401, allocations: 112.2 kB / 1.046 GB, free: 10.02 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005288/0.3407, allocations: 204.4 kB / 1.047 GB, free: 9.805 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.3407, allocations: 0 / 1.047 GB, free: 9.805 MB / 0.698 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.00108/0.3418, allocations: 302.1 kB / 1.047 GB, free: 9.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.349e-05/0.3418, allocations: 11.94 kB / 1.047 GB, free: 9.488 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.3418, allocations: 0 / 1.047 GB, free: 9.488 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000599/0.3424, allocations: 88.89 kB / 1.047 GB, free: 9.398 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002294/0.3426, allocations: 43.89 kB / 1.047 GB, free: 9.355 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002234/0.3449, allocations: 1.544 MB / 1.049 GB, free: 7.676 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000239/0.3451, allocations: 31.91 kB / 1.049 GB, free: 7.645 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.075e-05/0.3452, allocations: 4 kB / 1.049 GB, free: 7.641 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.0001196/0.3453, allocations: 129.7 kB / 1.049 GB, free: 7.504 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.763e-05/0.3454, allocations: 11.89 kB / 1.049 GB, free: 7.492 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00115/0.3465, allocations: 334.8 kB / 1.049 GB, free: 7.156 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.3465, allocations: 0 / 1.049 GB, free: 7.156 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.3465, allocations: 4 kB / 1.049 GB, free: 7.152 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/0.3466, allocations: 3.938 kB / 1.049 GB, free: 7.148 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002628/0.3468, allocations: 225.5 kB / 1.049 GB, free: 6.879 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.217e-06/0.3468, allocations: 0 / 1.049 GB, free: 6.879 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002067/0.347, allocations: 51.89 kB / 1.049 GB, free: 6.828 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005223/0.3476, allocations: 80.77 kB / 1.049 GB, free: 6.746 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.215e-05/0.3476, allocations: 4 kB / 1.049 GB, free: 6.742 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001849/0.3495, allocations: 1.579 MB / 1.051 GB, free: 5.023 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.3495, allocations: 4.062 kB / 1.051 GB, free: 5.02 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001092/0.3506, allocations: 406.8 kB / 1.051 GB, free: 4.605 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.343e-05/0.3507, allocations: 88.95 kB / 1.051 GB, free: 4.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.513e-05/0.3507, allocations: 0 / 1.051 GB, free: 4.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002259/0.3509, allocations: 23.98 kB / 1.051 GB, free: 4.477 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.081e-05/0.351, allocations: 11.97 kB / 1.051 GB, free: 4.465 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.927e-05/0.351, allocations: 8 kB / 1.052 GB, free: 4.457 MB / 0.698 GB Notification: Performance of sorting global known variables: time 8.031e-05/0.3511, allocations: 117.2 kB / 1.052 GB, free: 4.344 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3511, allocations: 0 / 1.052 GB, free: 4.344 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000321/0.3514, allocations: 44 kB / 1.052 GB, free: 4.301 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.0001885/0.3516, allocations: 107.2 kB / 1.052 GB, free: 4.188 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0009859/0.3526, allocations: 326.6 kB / 1.052 GB, free: 3.855 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3526, allocations: 0 / 1.052 GB, free: 3.855 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000551/0.3532, allocations: 242.6 kB / 1.052 GB, free: 3.605 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003299/0.3535, allocations: 38.11 kB / 1.052 GB, free: 3.57 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008616/0.3544, allocations: 371.2 kB / 1.053 GB, free: 3.176 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002772/0.3547, allocations: 0.7007 MB / 1.053 GB, free: 2.445 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.757e-05/0.3548, allocations: 23.41 kB / 1.053 GB, free: 2.422 MB / 0.698 GB Notification: Performance of SimCode: time 3.41e-07/0.3548, allocations: 0 / 1.053 GB, free: 2.422 MB / 0.698 GB Notification: Performance of Templates: time 0.3304/0.6852, allocations: 2.703 MB / 1.056 GB, free: 160.3 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)