Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.769/1.769, allocations: 287.4 MB / 302.6 MB, free: 8.363 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001321/0.001321, allocations: 182 kB / 371.1 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.801/1.801, allocations: 205.4 MB / 0.6298 GB, free: 10.53 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009288/0.0009288, allocations: 88.81 kB / 0.7431 GB, free: 6.52 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003957/0.0003957, allocations: 15.41 kB / 0.8662 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2477/0.2481, allocations: 115.3 MB / 0.9787 GB, free: 28.09 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.002051/0.2503, allocations: 1.589 MB / 0.9803 GB, free: 26.49 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.6973/0.9476, allocations: 141.2 MB / 1.118 GB, free: 1.551 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002562/0.9479, allocations: 6.062 kB / 1.118 GB, free: 1.547 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0002156/0.9481, allocations: 15.98 kB / 1.118 GB, free: 1.539 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0003489/0.9485, allocations: 58.73 kB / 1.118 GB, free: 1.516 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009996/0.9495, allocations: 216.3 kB / 1.118 GB, free: 1.484 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0003693/0.9499, allocations: 232.4 kB / 1.119 GB, free: 1.441 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002266/0.9501, allocations: 57.09 kB / 1.119 GB, free: 1.43 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005487/0.9506, allocations: 189.2 kB / 1.119 GB, free: 1.406 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001611/0.9508, allocations: 77.33 kB / 1.119 GB, free: 1.387 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 3.761e-05/0.9509, allocations: 4.875 kB / 1.119 GB, free: 1.387 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000482/0.9514, allocations: 173.2 kB / 1.119 GB, free: 1.371 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 6.673e-05/0.9514, allocations: 28.61 kB / 1.119 GB, free: 1.367 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001277/0.9516, allocations: 50.7 kB / 1.119 GB, free: 17.33 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.000362/0.9519, allocations: 195.3 kB / 1.119 GB, free: 17.31 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.952, allocations: 1.344 kB / 1.119 GB, free: 17.31 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.074e-06/0.952, allocations: 0 / 1.119 GB, free: 17.31 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.142e-06/0.952, allocations: 0 / 1.119 GB, free: 17.31 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0009417/0.9529, allocations: 491 kB / 1.12 GB, free: 16.9 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.712e-05/0.953, allocations: 12.97 kB / 1.12 GB, free: 16.9 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.557e-05/0.9531, allocations: 51.08 kB / 1.12 GB, free: 16.86 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008011/0.9539, allocations: 86.67 kB / 1.12 GB, free: 16.84 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002826/0.9542, allocations: 221.8 kB / 1.12 GB, free: 16.63 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.851e-05/0.9543, allocations: 52.05 kB / 1.12 GB, free: 16.59 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.165e-05/0.9543, allocations: 13.84 kB / 1.12 GB, free: 16.59 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005672/0.9549, allocations: 266.1 kB / 1.121 GB, free: 16.49 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.9549, allocations: 0 / 1.121 GB, free: 16.49 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.543e-05/0.9549, allocations: 10.2 kB / 1.121 GB, free: 16.49 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.717e-06/0.955, allocations: 4.75 kB / 1.121 GB, free: 16.49 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004553/0.9554, allocations: 183.1 kB / 1.121 GB, free: 16.47 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001633/0.9571, allocations: 1.173 MB / 1.122 GB, free: 15.59 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007202/0.9578, allocations: 216.5 kB / 1.122 GB, free: 15.56 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001696/0.958, allocations: 75.88 kB / 1.122 GB, free: 15.55 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.151e-05/0.958, allocations: 2.75 kB / 1.122 GB, free: 15.55 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.221e-05/0.958, allocations: 36.73 kB / 1.122 GB, free: 15.51 MB / 0.698 GB Notification: Performance of pre-optimization done (n=12): time 1.282e-06/0.958, allocations: 0 / 1.122 GB, free: 15.51 MB / 0.698 GB Notification: Performance of matching and sorting (n=12): time 0.002559/0.9606, allocations: 0.6436 MB / 1.123 GB, free: 15.24 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.09e-05/0.9607, allocations: 54.38 kB / 1.123 GB, free: 15.18 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002199/0.9609, allocations: 201.3 kB / 1.123 GB, free: 15.07 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.49e-05/0.9609, allocations: 27.56 kB / 1.123 GB, free: 15.04 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.515e-05/0.961, allocations: 145 kB / 1.123 GB, free: 14.93 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.053e-05/0.9611, allocations: 42.55 kB / 1.123 GB, free: 14.91 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.302e-05/0.9611, allocations: 5.781 kB / 1.123 GB, free: 14.91 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.9612, allocations: 332 kB / 1.124 GB, free: 14.59 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002086/0.9614, allocations: 73.77 kB / 1.124 GB, free: 14.59 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002251/0.9616, allocations: 132.2 kB / 1.124 GB, free: 14.51 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003765/0.962, allocations: 212.4 kB / 1.124 GB, free: 14.44 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.962, allocations: 4 kB / 1.124 GB, free: 14.43 MB / 0.698 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001325/0.9634, allocations: 380.3 kB / 1.124 GB, free: 14.36 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.9634, allocations: 7.531 kB / 1.124 GB, free: 14.36 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.9634, allocations: 0 / 1.124 GB, free: 14.36 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001017/0.9644, allocations: 163.9 kB / 1.125 GB, free: 14.33 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002497/0.9647, allocations: 42.7 kB / 1.125 GB, free: 14.33 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003498/0.9682, allocations: 3.039 MB / 1.128 GB, free: 11.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000382/0.9686, allocations: 37.39 kB / 1.128 GB, free: 11.69 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.66e-05/0.9686, allocations: 13.11 kB / 1.128 GB, free: 11.69 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001414/0.9688, allocations: 128.9 kB / 1.128 GB, free: 11.57 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.575e-05/0.9688, allocations: 19.69 kB / 1.128 GB, free: 11.56 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001236/0.9701, allocations: 385.7 kB / 1.128 GB, free: 11.49 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.9701, allocations: 2.906 kB / 1.128 GB, free: 11.49 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-06/0.9701, allocations: 0 / 1.128 GB, free: 11.49 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.9701, allocations: 0 / 1.128 GB, free: 11.49 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002766/0.9704, allocations: 276.2 kB / 1.128 GB, free: 11.29 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.9704, allocations: 0 / 1.128 GB, free: 11.29 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001269/0.9705, allocations: 32.58 kB / 1.128 GB, free: 11.29 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008789/0.9714, allocations: 157 kB / 1.129 GB, free: 11.27 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.593e-05/0.9715, allocations: 7.25 kB / 1.129 GB, free: 11.26 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003086/0.9746, allocations: 3.082 MB / 1.132 GB, free: 8.641 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.9746, allocations: 0 / 1.132 GB, free: 8.641 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001134/0.9757, allocations: 442 kB / 1.132 GB, free: 8.469 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001091/0.9758, allocations: 108.5 kB / 1.132 GB, free: 8.367 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.226e-05/0.9759, allocations: 7.469 kB / 1.132 GB, free: 8.363 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002653/0.9761, allocations: 15.47 kB / 1.132 GB, free: 8.363 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.913e-05/0.9762, allocations: 23.8 kB / 1.132 GB, free: 8.359 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.465e-05/0.9762, allocations: 2.719 kB / 1.132 GB, free: 8.359 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001538/0.9764, allocations: 155.7 kB / 1.132 GB, free: 8.277 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.01e-07/0.9764, allocations: 0 / 1.132 GB, free: 8.277 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004353/0.9768, allocations: 69.31 kB / 1.132 GB, free: 8.273 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 (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001456/0.9783, allocations: 0.9978 MB / 1.133 GB, free: 7.562 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0009642/0.9793, allocations: 454.1 kB / 1.134 GB, free: 7.324 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.9793, allocations: 4.781 kB / 1.134 GB, free: 7.324 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006151/0.9799, allocations: 356.9 kB / 1.134 GB, free: 7.094 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004303/0.9804, allocations: 58.06 kB / 1.134 GB, free: 7.086 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002858/0.9832, allocations: 1.326 MB / 1.135 GB, free: 6.5 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002751/0.9835, allocations: 0.7342 MB / 1.136 GB, free: 5.801 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002295/0.9838, allocations: 36.78 kB / 1.136 GB, free: 5.789 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.773e-05/0.9839, allocations: 52.64 kB / 1.136 GB, free: 5.781 MB / 0.698 GB Notification: Performance of SimCode: time 2.5e-07/0.9839, allocations: 1.531 kB / 1.136 GB, free: 5.781 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02171/1.006, allocations: 6.627 MB / 1.143 GB, free: 4.156 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001754/1.006, allocations: 223.2 kB / 1.143 GB, free: 3.922 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.842/2.848, allocations: 3.938 kB / 1.143 GB, free: 3.918 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.fmu > Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1)