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: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.291/1.291, allocations: 251.5 MB / 266.7 MB, free: 11.08 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.00109/0.001091, allocations: 167.5 kB / 325.8 MB, free: 2.734 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.507/1.507, allocations: 205 MB / 0.576 GB, free: 21.03 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.0006937/0.0006937, allocations: 94.77 kB / 0.6797 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003539/0.0003539, allocations: 8.781 kB / 0.7932 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.203/0.2034, allocations: 105.4 MB / 0.8962 GB, free: 68.13 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.001926/0.2054, allocations: 1.429 MB / 0.8976 GB, free: 66.68 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1447/0.3501, allocations: 147.4 MB / 1.042 GB, free: 14.74 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001332/0.3503, allocations: 4 kB / 1.042 GB, free: 14.74 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0002463/0.3506, allocations: 15.86 kB / 1.042 GB, free: 14.72 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0003025/0.3509, allocations: 39.77 kB / 1.042 GB, free: 14.68 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005182/0.3514, allocations: 163.5 kB / 1.042 GB, free: 14.52 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002208/0.3516, allocations: 151.5 kB / 1.042 GB, free: 14.38 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000157/0.3518, allocations: 23.98 kB / 1.042 GB, free: 14.35 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002319/0.3541, allocations: 168.5 kB / 1.042 GB, free: 14.2 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001092/0.3543, allocations: 51.77 kB / 1.042 GB, free: 14.15 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.521e-05/0.3543, allocations: 4 kB / 1.042 GB, free: 14.15 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003335/0.3546, allocations: 163.8 kB / 1.042 GB, free: 13.99 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 4.407e-05/0.3547, allocations: 23.86 kB / 1.042 GB, free: 13.96 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 6.359e-05/0.3548, allocations: 43.78 kB / 1.042 GB, free: 13.92 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003013/0.3551, allocations: 183.5 kB / 1.043 GB, free: 13.74 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.3551, allocations: 0 / 1.043 GB, free: 13.74 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.776e-06/0.3551, allocations: 0 / 1.043 GB, free: 13.74 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.083e-05/0.3551, allocations: 0 / 1.043 GB, free: 13.74 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.0008654/0.356, allocations: 459.1 kB / 1.043 GB, free: 13.25 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/0.356, allocations: 8.031 kB / 1.043 GB, free: 13.24 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.237e-05/0.3561, allocations: 42.73 kB / 1.043 GB, free: 13.19 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006159/0.3567, allocations: 56.53 kB / 1.043 GB, free: 13.13 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002179/0.3569, allocations: 198.8 kB / 1.043 GB, free: 12.9 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.357, allocations: 4 kB / 1.043 GB, free: 12.89 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.544e-05/0.357, allocations: 8 kB / 1.043 GB, free: 12.89 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000453/0.3574, allocations: 199.4 kB / 1.043 GB, free: 12.67 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.3575, allocations: 0 / 1.043 GB, free: 12.67 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.032e-05/0.3575, allocations: 8 kB / 1.043 GB, free: 12.66 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.3575, allocations: 0 / 1.043 GB, free: 12.66 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004905/0.358, allocations: 175.7 kB / 1.044 GB, free: 12.49 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001036/0.359, allocations: 0.8245 MB / 1.044 GB, free: 11.59 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003856/0.3594, allocations: 146.5 kB / 1.045 GB, free: 11.44 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000253/0.3597, allocations: 92.8 kB / 1.045 GB, free: 11.34 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.398e-05/0.3597, allocations: 0 / 1.045 GB, free: 11.34 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.732e-05/0.3598, allocations: 34.56 kB / 1.045 GB, free: 11.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 9.42e-07/0.3598, allocations: 0 / 1.045 GB, free: 11.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.001825/0.3616, allocations: 499.3 kB / 1.045 GB, free: 10.79 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.127e-05/0.3617, allocations: 59.34 kB / 1.045 GB, free: 10.71 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/0.3618, allocations: 139.7 kB / 1.045 GB, free: 10.57 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.014e-05/0.3618, allocations: 29.7 kB / 1.045 GB, free: 10.54 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.081e-05/0.3619, allocations: 108 kB / 1.045 GB, free: 10.43 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.686e-05/0.3619, allocations: 31.55 kB / 1.046 GB, free: 10.39 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.267e-05/0.3619, allocations: 13.72 kB / 1.046 GB, free: 10.38 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.377e-05/0.362, allocations: 322.8 kB / 1.046 GB, free: 10.05 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002401/0.3623, allocations: 87.81 kB / 1.046 GB, free: 9.965 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002467/0.3626, allocations: 120.2 kB / 1.046 GB, free: 9.832 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004905/0.3631, allocations: 196.1 kB / 1.046 GB, free: 9.625 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.3631, allocations: 0 / 1.046 GB, free: 9.625 MB / 0.698 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001015/0.3641, allocations: 298.1 kB / 1.046 GB, free: 9.324 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.3641, allocations: 17.91 kB / 1.047 GB, free: 9.309 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.3641, allocations: 0 / 1.047 GB, free: 9.309 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005778/0.3647, allocations: 88.89 kB / 1.047 GB, free: 9.219 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002141/0.3649, allocations: 35.95 kB / 1.047 GB, free: 9.184 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001915/0.3669, allocations: 1.555 MB / 1.048 GB, free: 7.492 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002111/0.3671, allocations: 31.98 kB / 1.048 GB, free: 7.461 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.793e-05/0.3671, allocations: 7.984 kB / 1.048 GB, free: 7.453 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 9.589e-05/0.3672, allocations: 121.8 kB / 1.048 GB, free: 7.324 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.093e-05/0.3673, allocations: 15.81 kB / 1.048 GB, free: 7.309 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001045/0.3683, allocations: 332.7 kB / 1.049 GB, free: 6.977 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.3683, allocations: 0 / 1.049 GB, free: 6.977 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.3683, allocations: 11.92 kB / 1.049 GB, free: 6.965 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.3683, allocations: 0 / 1.049 GB, free: 6.965 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002227/0.3686, allocations: 221.5 kB / 1.049 GB, free: 6.699 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.3686, allocations: 3.984 kB / 1.049 GB, free: 6.695 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002005/0.3688, allocations: 43.97 kB / 1.049 GB, free: 6.652 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000468/0.3693, allocations: 84.7 kB / 1.049 GB, free: 6.566 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.839e-05/0.3693, allocations: 7.984 kB / 1.049 GB, free: 6.559 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001609/0.3709, allocations: 1.571 MB / 1.051 GB, free: 4.848 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3709, allocations: 144 / 1.051 GB, free: 4.848 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009996/0.3719, allocations: 408 kB / 1.051 GB, free: 4.43 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.288e-05/0.372, allocations: 88.95 kB / 1.051 GB, free: 4.324 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.446e-05/0.372, allocations: 8 kB / 1.051 GB, free: 4.316 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002052/0.3722, allocations: 27.91 kB / 1.051 GB, free: 4.289 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.297e-05/0.3723, allocations: 11.98 kB / 1.051 GB, free: 4.277 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.503e-05/0.3723, allocations: 7.984 kB / 1.051 GB, free: 4.27 MB / 0.698 GB Notification: Performance of sorting global known variables: time 6.186e-05/0.3724, allocations: 104.8 kB / 1.051 GB, free: 4.168 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3724, allocations: 3.938 kB / 1.051 GB, free: 4.164 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002958/0.3727, allocations: 44 kB / 1.051 GB, free: 4.121 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.001308/0.374, allocations: 0.942 MB / 1.052 GB, free: 3.152 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0008396/0.3749, allocations: 330.7 kB / 1.052 GB, free: 2.816 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3749, allocations: 0 / 1.052 GB, free: 2.816 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004887/0.3754, allocations: 242.5 kB / 1.053 GB, free: 2.566 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003343/0.3757, allocations: 31.48 kB / 1.053 GB, free: 2.539 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003604/0.3793, allocations: 2.143 MB / 1.055 GB, free: 300 kB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3566/0.7359, allocations: 0.7012 MB / 1.055 GB, free: 160.4 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000238/0.7362, allocations: 23.28 kB / 1.055 GB, free: 160.3 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000106/0.7363, allocations: 34.56 kB / 1.056 GB, free: 160.3 MB / 0.698 GB Notification: Performance of SimCode: time 6.91e-07/0.7363, allocations: 0 / 1.056 GB, free: 160.3 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4825/1.219, allocations: 4.227 MB / 1.06 GB, free: 160.2 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001409/1.219, allocations: 251.9 kB / 1.06 GB, free: 159.9 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.335/3.555, allocations: 0.625 kB / 1.06 GB, free: 159.9 MB / 0.698 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1)