Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.717/1.717, allocations: 288.2 MB / 303.2 MB, free: 8.164 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.001424/0.001424, allocations: 181 kB / 371.8 MB, free: 10.29 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.704/1.704, allocations: 205.4 MB / 0.6305 GB, free: 10.04 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.001/0.001, allocations: 101.2 kB / 0.7439 GB, free: 5.945 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003853/0.0003853, allocations: 11.66 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2261/0.2265, allocations: 115.3 MB / 0.9795 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.001894/0.2284, allocations: 1.566 MB / 0.981 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.6811/0.9096, allocations: 130.9 MB / 1.109 GB, free: 2.191 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001712/0.9098, allocations: 2.219 kB / 1.109 GB, free: 2.191 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001821/0.91, allocations: 17.3 kB / 1.109 GB, free: 2.184 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0002972/0.9103, allocations: 72.52 kB / 1.109 GB, free: 2.176 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008252/0.9111, allocations: 217 kB / 1.109 GB, free: 2.168 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0002384/0.9114, allocations: 161.8 kB / 1.109 GB, free: 2.16 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001818/0.9116, allocations: 52.75 kB / 1.109 GB, free: 2.148 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003527/0.9119, allocations: 149.5 kB / 1.109 GB, free: 2.133 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001288/0.9121, allocations: 78.59 kB / 1.11 GB, free: 2.113 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 2.244e-05/0.9121, allocations: 5.406 kB / 1.11 GB, free: 2.113 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003456/0.9124, allocations: 184.5 kB / 1.11 GB, free: 2.109 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 4.755e-05/0.9125, allocations: 31.88 kB / 1.11 GB, free: 2.105 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001267/0.9126, allocations: 48.39 kB / 1.11 GB, free: 18.07 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003132/0.913, allocations: 195.6 kB / 1.11 GB, free: 18.05 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.913, allocations: 0 / 1.11 GB, free: 18.05 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.844e-06/0.913, allocations: 1.812 kB / 1.11 GB, free: 18.05 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.913, allocations: 0 / 1.11 GB, free: 18.05 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.0009095/0.9139, allocations: 487.5 kB / 1.11 GB, free: 17.65 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.914, allocations: 13.89 kB / 1.11 GB, free: 17.64 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.243e-05/0.914, allocations: 52.94 kB / 1.111 GB, free: 17.6 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000823/0.9149, allocations: 85.88 kB / 1.111 GB, free: 17.59 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002698/0.9151, allocations: 226.1 kB / 1.111 GB, free: 17.38 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.386e-05/0.9152, allocations: 42.23 kB / 1.111 GB, free: 17.34 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.692e-05/0.9153, allocations: 19.7 kB / 1.111 GB, free: 17.34 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005165/0.9158, allocations: 262.9 kB / 1.111 GB, free: 17.23 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.9158, allocations: 5.312 kB / 1.111 GB, free: 17.23 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.795e-05/0.9159, allocations: 8.484 kB / 1.111 GB, free: 17.23 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.844e-06/0.9159, allocations: 4.125 kB / 1.111 GB, free: 17.23 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004489/0.9163, allocations: 181 kB / 1.111 GB, free: 17.22 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001767/0.9181, allocations: 1.177 MB / 1.112 GB, free: 16.33 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007953/0.9189, allocations: 215.5 kB / 1.113 GB, free: 16.3 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.731e-05/0.9189, allocations: 6.391 kB / 1.113 GB, free: 16.3 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.732e-05/0.919, allocations: 32.84 kB / 1.113 GB, free: 16.26 MB / 0.698 GB Notification: Performance of pre-optimization done (n=12): time 1.743e-06/0.919, allocations: 0 / 1.113 GB, free: 16.26 MB / 0.698 GB Notification: Performance of matching and sorting (n=12): time 0.002806/0.9218, allocations: 0.6419 MB / 1.113 GB, free: 15.99 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.649e-05/0.9219, allocations: 55.09 kB / 1.113 GB, free: 15.93 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002598/0.9221, allocations: 198.8 kB / 1.114 GB, free: 15.82 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.177e-05/0.9222, allocations: 31.62 kB / 1.114 GB, free: 15.79 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 9.113e-05/0.9223, allocations: 144.9 kB / 1.114 GB, free: 15.68 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.853e-05/0.9223, allocations: 37.59 kB / 1.114 GB, free: 15.65 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.561e-05/0.9223, allocations: 4.406 kB / 1.114 GB, free: 15.65 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.9225, allocations: 326.2 kB / 1.114 GB, free: 15.34 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002296/0.9227, allocations: 75.89 kB / 1.114 GB, free: 15.34 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002496/0.923, allocations: 132.7 kB / 1.114 GB, free: 15.27 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002482/0.9232, allocations: 92.25 kB / 1.114 GB, free: 15.26 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.9232, allocations: 1 kB / 1.114 GB, free: 15.26 MB / 0.698 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.00146/0.9247, allocations: 384.3 kB / 1.115 GB, free: 15.18 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.9247, allocations: 7.719 kB / 1.115 GB, free: 15.18 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.9247, allocations: 3.391 kB / 1.115 GB, free: 15.18 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001117/0.9259, allocations: 168.2 kB / 1.115 GB, free: 15.15 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002326/0.9261, allocations: 43.36 kB / 1.115 GB, free: 15.15 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003813/0.9299, allocations: 3.059 MB / 1.118 GB, free: 12.52 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003895/0.9303, allocations: 39.97 kB / 1.118 GB, free: 12.51 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.881e-05/0.9304, allocations: 12.16 kB / 1.118 GB, free: 12.51 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.0001495/0.9305, allocations: 128.7 kB / 1.118 GB, free: 12.39 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.884e-05/0.9306, allocations: 12.47 kB / 1.118 GB, free: 12.39 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001326/0.9319, allocations: 390.1 kB / 1.118 GB, free: 12.31 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.9319, allocations: 0.9688 kB / 1.118 GB, free: 12.31 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/0.932, allocations: 3.828 kB / 1.119 GB, free: 12.31 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.932, allocations: 0 / 1.119 GB, free: 12.31 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003136/0.9323, allocations: 276.8 kB / 1.119 GB, free: 12.11 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.9323, allocations: 0 / 1.119 GB, free: 12.11 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001391/0.9324, allocations: 30.91 kB / 1.119 GB, free: 12.11 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009303/0.9334, allocations: 159.2 kB / 1.119 GB, free: 12.09 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.97e-05/0.9334, allocations: 4.656 kB / 1.119 GB, free: 12.09 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003447/0.9369, allocations: 3.096 MB / 1.122 GB, free: 9.477 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/0.9369, allocations: 3.953 kB / 1.122 GB, free: 9.473 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001318/0.9382, allocations: 445.1 kB / 1.122 GB, free: 9.301 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001439/0.9384, allocations: 109.2 kB / 1.123 GB, free: 9.199 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.485e-05/0.9384, allocations: 6.844 kB / 1.123 GB, free: 9.195 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000288/0.9387, allocations: 17.77 kB / 1.123 GB, free: 9.195 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.229e-05/0.9388, allocations: 21.61 kB / 1.123 GB, free: 9.191 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.03e-05/0.9388, allocations: 10.17 kB / 1.123 GB, free: 9.188 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001847/0.939, allocations: 149.5 kB / 1.123 GB, free: 9.109 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.6e-07/0.939, allocations: 0 / 1.123 GB, free: 9.109 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004922/0.9395, allocations: 75.12 kB / 1.123 GB, free: 9.102 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.001635/0.9412, allocations: 0.9829 MB / 1.124 GB, free: 8.402 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001107/0.9423, allocations: 460.1 kB / 1.124 GB, free: 8.16 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.9423, allocations: 0.9688 kB / 1.124 GB, free: 8.16 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006612/0.943, allocations: 364.9 kB / 1.125 GB, free: 7.93 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003701/0.9434, allocations: 54.22 kB / 1.125 GB, free: 7.922 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003467/0.9468, allocations: 2.377 MB / 1.127 GB, free: 6.289 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003495/0.9472, allocations: 0.7366 MB / 1.128 GB, free: 5.586 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002377/0.9474, allocations: 32.44 kB / 1.128 GB, free: 5.578 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001059/0.9476, allocations: 57.81 kB / 1.128 GB, free: 5.566 MB / 0.698 GB Notification: Performance of SimCode: time 5.41e-07/0.9476, allocations: 0 / 1.128 GB, free: 5.566 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02256/0.9701, allocations: 6.66 MB / 1.134 GB, free: 3.418 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003429/0.9705, allocations: 235.1 kB / 1.134 GB, free: 3.18 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.909/2.88, allocations: 0 / 1.134 GB, free: 3.18 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1)