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.585/1.585, allocations: 285.6 MB / 293.1 MB, free: 10.23 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.00107/0.00107, allocations: 176.9 kB / 361.4 MB, free: 6.859 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.688/1.688, allocations: 205.2 MB / 0.62 GB, free: 11.61 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000841/0.0008413, allocations: 92.2 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.274e-05/2.267e-05, allocations: 4 kB / 0.8518 GB, free: 2.637 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9033/0.9033, allocations: 115.3 MB / 0.9644 GB, free: 78.74 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.42/6.323, allocations: 2.073 GB / 3.038 GB, free: 42.07 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002662/6.324, allocations: 87.17 kB / 3.038 GB, free: 42.03 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.7238/7.047, allocations: 89.3 MB / 3.125 GB, free: 320.5 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.823e-06/7.047, allocations: 0 / 3.125 GB, free: 320.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 2.042e-05/7.048, allocations: 14.44 kB / 3.125 GB, free: 320.5 MB / 0.948 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.0009413/7.048, allocations: 0.4922 MB / 3.126 GB, free: 320.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.395e-05/7.049, allocations: 9.625 kB / 3.126 GB, free: 320.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008326/7.049, allocations: 85.66 kB / 3.126 GB, free: 320.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003144/7.05, allocations: 231.2 kB / 3.126 GB, free: 319.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.617e-05/7.05, allocations: 32.91 kB / 3.126 GB, free: 319.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.1e-05/7.05, allocations: 9.625 kB / 3.126 GB, free: 319.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000301/7.05, allocations: 111.2 kB / 3.126 GB, free: 319.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004505/7.051, allocations: 213.8 kB / 3.126 GB, free: 319.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.905e-05/7.051, allocations: 3.797 kB / 3.126 GB, free: 319.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.099e-05/7.051, allocations: 1.375 kB / 3.126 GB, free: 319.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.569e-05/7.051, allocations: 4.125 kB / 3.126 GB, free: 319.6 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001741/7.052, allocations: 1.135 MB / 3.127 GB, free: 318.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007177/7.053, allocations: 191.7 kB / 3.128 GB, free: 318.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001158/7.053, allocations: 55.66 kB / 3.128 GB, free: 318.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.868e-05/7.053, allocations: 6.594 kB / 3.128 GB, free: 318.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.705e-05/7.053, allocations: 39.48 kB / 3.128 GB, free: 318.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=12): time 1.834e-06/7.053, allocations: 0 / 3.128 GB, free: 318.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=12): time 0.001253/7.055, allocations: 259.2 kB / 3.128 GB, free: 318.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.536e-05/7.055, allocations: 51.41 kB / 3.128 GB, free: 318.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001983/7.055, allocations: 143.2 kB / 3.128 GB, free: 318.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.62e-05/7.055, allocations: 25.7 kB / 3.128 GB, free: 318.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 9.487e-05/7.055, allocations: 144.4 kB / 3.128 GB, free: 318.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 6.142e-05/7.055, allocations: 41.25 kB / 3.128 GB, free: 318.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.703e-05/7.055, allocations: 0 / 3.128 GB, free: 318.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001118/7.055, allocations: 329.5 kB / 3.129 GB, free: 317.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001493/7.055, allocations: 51.31 kB / 3.129 GB, free: 317.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001998/7.056, allocations: 121.4 kB / 3.129 GB, free: 317.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001335/7.056, allocations: 54.97 kB / 3.129 GB, free: 317.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/7.056, allocations: 1.25 kB / 3.129 GB, free: 317.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001187/7.057, allocations: 325.8 kB / 3.129 GB, free: 317.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.351e-05/7.057, allocations: 5.469 kB / 3.129 GB, free: 317.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.383e-06/7.057, allocations: 2.344 kB / 3.129 GB, free: 317.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001084/7.058, allocations: 166.1 kB / 3.129 GB, free: 317.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000228/7.058, allocations: 43.86 kB / 3.129 GB, free: 317.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003056/7.061, allocations: 2.881 MB / 3.132 GB, free: 314.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003229/7.062, allocations: 35.88 kB / 3.132 GB, free: 314.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.2e-05/7.062, allocations: 5.969 kB / 3.132 GB, free: 314.8 MB / 0.948 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 () * 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 8.853e-05/7.062, allocations: 112 kB / 3.132 GB, free: 314.6 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00108/7.063, allocations: 266.7 kB / 3.133 GB, free: 314.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.569e-05/7.063, allocations: 22.28 kB / 3.133 GB, free: 314.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001135/7.064, allocations: 324.5 kB / 3.133 GB, free: 314.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/7.064, allocations: 6.219 kB / 3.133 GB, free: 314.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-06/7.064, allocations: 3.938 kB / 3.133 GB, free: 314.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/7.064, allocations: 0 / 3.133 GB, free: 314.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002535/7.064, allocations: 240 kB / 3.133 GB, free: 314.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/7.064, allocations: 0 / 3.133 GB, free: 314.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001283/7.065, allocations: 22.5 kB / 3.133 GB, free: 314.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008717/7.065, allocations: 162.9 kB / 3.133 GB, free: 314.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.759e-05/7.066, allocations: 1.656 kB / 3.133 GB, free: 314.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002675/7.068, allocations: 2.941 MB / 3.136 GB, free: 311.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/7.068, allocations: 0 / 3.136 GB, free: 311.5 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001025/7.069, allocations: 389.3 kB / 3.137 GB, free: 311.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.142e-05/7.069, allocations: 111.7 kB / 3.137 GB, free: 311.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.093e-05/7.069, allocations: 5.266 kB / 3.137 GB, free: 311.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002633/7.07, allocations: 16.69 kB / 3.137 GB, free: 311.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.015e-05/7.07, allocations: 20.91 kB / 3.137 GB, free: 311.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.805e-05/7.07, allocations: 8.375 kB / 3.137 GB, free: 311.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 8.176e-05/7.07, allocations: 113.8 kB / 3.137 GB, free: 311 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.4e-07/7.07, allocations: 0 / 3.137 GB, free: 311 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0005785/7.07, allocations: 111.3 kB / 3.137 GB, free: 311 MB / 0.948 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 () * 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.00221/7.073, allocations: 1.646 MB / 3.139 GB, free: 310.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0007955/7.073, allocations: 383 kB / 3.139 GB, free: 309.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.726e-06/7.073, allocations: 1.312 kB / 3.139 GB, free: 309.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005334/7.074, allocations: 321.1 kB / 3.139 GB, free: 309.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003116/7.074, allocations: 40.95 kB / 3.139 GB, free: 309.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009513/7.075, allocations: 350.6 kB / 3.14 GB, free: 309.4 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001886/7.076, allocations: 0.7329 MB / 3.14 GB, free: 308.7 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.000196/7.076, allocations: 38.92 kB / 3.14 GB, free: 308.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.144e-05/7.076, allocations: 52.2 kB / 3.14 GB, free: 308.6 MB / 0.948 GB Notification: Performance of SimCode: time 2.5e-07/7.076, allocations: 0 / 3.14 GB, free: 308.6 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03546/7.111, allocations: 11.43 MB / 3.152 GB, free: 307.5 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002068/7.112, allocations: 169.1 kB / 3.152 GB, free: 307.3 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.1/9.212, allocations: 2.812 kB / 3.152 GB, free: 307.3 MB / 0.948 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)