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 2.677/2.677, allocations: 287.5 MB / 302.4 MB, free: 8.367 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.001335/0.001334, allocations: 188.5 kB / 371 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.206/2.206, allocations: 205.4 MB / 0.6297 GB, free: 10.56 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.0008979/0.0008976, allocations: 92.67 kB / 0.743 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004925/0.0004927, allocations: 12.27 kB / 0.8659 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2189/0.2194, allocations: 115.3 MB / 0.9784 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.002329/0.2218, allocations: 1.593 MB / 0.98 GB, free: 26.67 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.998/1.22, allocations: 141.2 MB / 1.118 GB, free: 1.465 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002112/1.22, allocations: 1.125 kB / 1.118 GB, free: 1.465 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001966/1.22, allocations: 18.31 kB / 1.118 GB, free: 1.453 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0003348/1.221, allocations: 61.14 kB / 1.118 GB, free: 1.434 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001051/1.222, allocations: 220.2 kB / 1.118 GB, free: 1.398 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0003799/1.222, allocations: 229.5 kB / 1.118 GB, free: 1.355 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001984/1.222, allocations: 47.89 kB / 1.118 GB, free: 1.348 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006277/1.223, allocations: 174.9 kB / 1.119 GB, free: 1.328 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001812/1.223, allocations: 76.3 kB / 1.119 GB, free: 1.312 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 4.164e-05/1.223, allocations: 5.469 kB / 1.119 GB, free: 1.312 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006325/1.224, allocations: 171 kB / 1.119 GB, free: 1.301 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 7.265e-05/1.224, allocations: 33.41 kB / 1.119 GB, free: 1.293 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.000122/1.224, allocations: 58.17 kB / 1.119 GB, free: 17.25 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0004419/1.225, allocations: 186.1 kB / 1.119 GB, free: 17.24 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/1.225, allocations: 0 / 1.119 GB, free: 17.24 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.765e-06/1.225, allocations: 2.516 kB / 1.119 GB, free: 17.24 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.841e-06/1.225, allocations: 0.9688 kB / 1.119 GB, free: 17.24 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.001241/1.226, allocations: 495.1 kB / 1.12 GB, free: 16.83 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/1.226, allocations: 13.8 kB / 1.12 GB, free: 16.82 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.067e-05/1.226, allocations: 50.44 kB / 1.12 GB, free: 16.79 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001285/1.227, allocations: 96.73 kB / 1.12 GB, free: 16.77 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003544/1.228, allocations: 213.5 kB / 1.12 GB, free: 16.56 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001012/1.228, allocations: 38.16 kB / 1.12 GB, free: 16.53 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.297e-05/1.228, allocations: 18.05 kB / 1.12 GB, free: 16.52 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008108/1.229, allocations: 270.9 kB / 1.12 GB, free: 16.42 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/1.229, allocations: 1.344 kB / 1.12 GB, free: 16.42 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.981e-05/1.229, allocations: 6.078 kB / 1.12 GB, free: 16.42 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.114e-05/1.229, allocations: 8.469 kB / 1.12 GB, free: 16.41 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007738/1.23, allocations: 175.8 kB / 1.12 GB, free: 16.41 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002435/1.232, allocations: 1.186 MB / 1.122 GB, free: 15.51 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001215/1.233, allocations: 213 kB / 1.122 GB, free: 15.48 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002888/1.234, allocations: 79.64 kB / 1.122 GB, free: 15.47 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.008e-05/1.234, allocations: 1.75 kB / 1.122 GB, free: 15.47 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.906e-05/1.234, allocations: 35.98 kB / 1.122 GB, free: 15.43 MB / 0.698 GB Notification: Performance of pre-optimization done (n=12): time 2.975e-06/1.234, allocations: 0 / 1.122 GB, free: 15.43 MB / 0.698 GB Notification: Performance of matching and sorting (n=12): time 0.004475/1.238, allocations: 0.6457 MB / 1.123 GB, free: 15.16 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.161e-05/1.238, allocations: 54.61 kB / 1.123 GB, free: 15.1 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003482/1.239, allocations: 199.5 kB / 1.123 GB, free: 15 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.184e-05/1.239, allocations: 30.83 kB / 1.123 GB, free: 14.96 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001232/1.239, allocations: 139.8 kB / 1.123 GB, free: 14.86 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.715e-05/1.239, allocations: 37.52 kB / 1.123 GB, free: 14.83 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.276e-05/1.239, allocations: 4.562 kB / 1.123 GB, free: 14.83 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001694/1.239, allocations: 325 kB / 1.123 GB, free: 14.52 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003752/1.239, allocations: 77.56 kB / 1.123 GB, free: 14.52 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004035/1.24, allocations: 142.7 kB / 1.124 GB, free: 14.44 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003966/1.24, allocations: 85.64 kB / 1.124 GB, free: 14.43 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/1.24, allocations: 0 / 1.124 GB, free: 14.43 MB / 0.698 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.002398/1.243, allocations: 391.3 kB / 1.124 GB, free: 14.35 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.812e-05/1.243, allocations: 5.75 kB / 1.124 GB, free: 14.35 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.849e-06/1.243, allocations: 2.812 kB / 1.124 GB, free: 14.35 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001795/1.245, allocations: 168.2 kB / 1.124 GB, free: 14.32 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003868/1.245, allocations: 37.31 kB / 1.124 GB, free: 14.32 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005833/1.251, allocations: 3.043 MB / 1.127 GB, free: 11.69 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006383/1.252, allocations: 36.8 kB / 1.127 GB, free: 11.68 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.74e-05/1.252, allocations: 7.812 kB / 1.127 GB, free: 11.68 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.0002062/1.252, allocations: 134.8 kB / 1.127 GB, free: 11.56 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.712e-05/1.252, allocations: 12.45 kB / 1.127 GB, free: 11.55 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002167/1.254, allocations: 386.9 kB / 1.128 GB, free: 11.48 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-06/1.254, allocations: 4.625 kB / 1.128 GB, free: 11.48 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/1.254, allocations: 0 / 1.128 GB, free: 11.48 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.593e-06/1.254, allocations: 2.688 kB / 1.128 GB, free: 11.48 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004714/1.255, allocations: 272.6 kB / 1.128 GB, free: 11.28 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/1.255, allocations: 0 / 1.128 GB, free: 11.28 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002534/1.255, allocations: 29.28 kB / 1.128 GB, free: 11.28 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001602/1.256, allocations: 163.1 kB / 1.128 GB, free: 11.25 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.489e-05/1.257, allocations: 5.469 kB / 1.128 GB, free: 11.25 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005227/1.262, allocations: 3.075 MB / 1.131 GB, free: 8.641 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.762e-06/1.262, allocations: 3.953 kB / 1.131 GB, free: 8.637 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002124/1.264, allocations: 441.4 kB / 1.132 GB, free: 8.465 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001984/1.264, allocations: 109.1 kB / 1.132 GB, free: 8.363 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.192e-05/1.264, allocations: 6.062 kB / 1.132 GB, free: 8.363 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004859/1.265, allocations: 21.02 kB / 1.132 GB, free: 8.359 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001133/1.265, allocations: 18 kB / 1.132 GB, free: 8.359 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.699e-05/1.265, allocations: 10.47 kB / 1.132 GB, free: 8.355 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002541/1.265, allocations: 147.1 kB / 1.132 GB, free: 8.277 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.81e-07/1.265, allocations: 0 / 1.132 GB, free: 8.277 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006065/1.266, allocations: 70.19 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.002517/1.268, allocations: 0.9851 MB / 1.133 GB, free: 7.57 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001603/1.27, allocations: 461.7 kB / 1.133 GB, free: 7.328 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/1.27, allocations: 1.969 kB / 1.133 GB, free: 7.328 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001118/1.271, allocations: 363.7 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.0006919/1.272, allocations: 59.92 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.004966/1.277, allocations: 1.318 MB / 1.135 GB, free: 6.512 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004031/1.277, allocations: 0.7342 MB / 1.136 GB, free: 5.809 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003751/1.278, allocations: 33.38 kB / 1.136 GB, free: 5.801 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001551/1.278, allocations: 53.78 kB / 1.136 GB, free: 5.793 MB / 0.698 GB Notification: Performance of SimCode: time 1.182e-06/1.278, allocations: 0 / 1.136 GB, free: 5.793 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03602/1.314, allocations: 6.668 MB / 1.142 GB, free: 4.16 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000366/1.314, allocations: 229.2 kB / 1.143 GB, free: 3.926 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.008/4.322, allocations: 3.25 kB / 1.143 GB, free: 3.926 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)