Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.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_TDryBulPhi,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.51/1.51, allocations: 249.3 MB / 261.8 MB, free: 5.926 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001048/0.001048, allocations: 178.5 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.594/1.594, allocations: 205.1 MB / 0.572 GB, free: 10.59 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.0009273/0.0009277, allocations: 82.48 kB / 0.6764 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.59e-05/3.653e-05, allocations: 4 kB / 0.788 GB, free: 97 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2518/0.2518, allocations: 106.3 MB / 0.8919 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.394/6.646, allocations: 2.192 GB / 3.084 GB, free: 177.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000247/6.646, allocations: 82.89 kB / 3.084 GB, free: 177.2 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.161/6.807, allocations: 87.91 MB / 3.17 GB, free: 87.52 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.763e-06/6.807, allocations: 0 / 3.17 GB, free: 87.52 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.603e-05/6.807, allocations: 4 kB / 3.17 GB, free: 87.52 MB / 0.8698 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.0007107/6.808, allocations: 0.5022 MB / 3.17 GB, free: 86.96 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/6.808, allocations: 12.03 kB / 3.17 GB, free: 86.95 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.899e-05/6.808, allocations: 50.55 kB / 3.17 GB, free: 86.89 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007152/6.809, allocations: 79.73 kB / 3.171 GB, free: 86.82 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000227/6.809, allocations: 222.8 kB / 3.171 GB, free: 86.56 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.197e-05/6.809, allocations: 34.03 kB / 3.171 GB, free: 86.52 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.136e-05/6.809, allocations: 16 kB / 3.171 GB, free: 86.5 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003308/6.81, allocations: 243.3 kB / 3.171 GB, free: 86.24 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/6.81, allocations: 3.953 kB / 3.171 GB, free: 86.23 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.395e-05/6.81, allocations: 8 kB / 3.171 GB, free: 86.23 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.247e-06/6.81, allocations: 4 kB / 3.171 GB, free: 86.22 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002114/6.81, allocations: 127.8 kB / 3.171 GB, free: 86.1 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001313/6.811, allocations: 1.2 MB / 3.172 GB, free: 84.82 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006304/6.812, allocations: 194.6 kB / 3.173 GB, free: 84.62 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001013/6.812, allocations: 60.78 kB / 3.173 GB, free: 84.56 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.336e-05/6.812, allocations: 0 / 3.173 GB, free: 84.56 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.759e-05/6.812, allocations: 38.56 kB / 3.173 GB, free: 84.51 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=12): time 1.092e-06/6.812, allocations: 0 / 3.173 GB, free: 84.51 MB / 0.8698 GB Notification: Performance of matching and sorting (n=12): time 0.001165/6.813, allocations: 275 kB / 3.173 GB, free: 84.23 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.381e-05/6.813, allocations: 55.39 kB / 3.173 GB, free: 84.16 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001367/6.813, allocations: 185.4 kB / 3.173 GB, free: 83.98 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.056e-05/6.813, allocations: 33.7 kB / 3.173 GB, free: 83.94 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.235e-05/6.813, allocations: 131.6 kB / 3.173 GB, free: 83.8 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.832e-05/6.813, allocations: 39.66 kB / 3.173 GB, free: 83.77 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.357e-05/6.813, allocations: 8 kB / 3.173 GB, free: 83.76 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.456e-05/6.814, allocations: 334.8 kB / 3.174 GB, free: 83.42 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.619e-05/6.814, allocations: 48.36 kB / 3.174 GB, free: 83.37 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001233/6.814, allocations: 121.4 kB / 3.174 GB, free: 83.22 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001213/6.814, allocations: 67.91 kB / 3.174 GB, free: 83.16 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/6.814, allocations: 4.031 kB / 3.174 GB, free: 83.15 MB / 0.8698 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001122/6.815, allocations: 334.8 kB / 3.174 GB, free: 82.81 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/6.815, allocations: 8 kB / 3.174 GB, free: 82.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/6.815, allocations: 0 / 3.174 GB, free: 82.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000999/6.816, allocations: 173.7 kB / 3.174 GB, free: 82.63 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002117/6.816, allocations: 43.97 kB / 3.174 GB, free: 82.59 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002955/6.819, allocations: 3.021 MB / 3.177 GB, free: 79.29 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003244/6.82, allocations: 43.75 kB / 3.177 GB, free: 79.24 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.308e-05/6.82, allocations: 11.98 kB / 3.177 GB, free: 79.23 MB / 0.8698 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 7.911e-05/6.82, allocations: 117 kB / 3.177 GB, free: 79.11 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.338e-05/6.82, allocations: 15.81 kB / 3.178 GB, free: 79.09 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001084/6.821, allocations: 353.9 kB / 3.178 GB, free: 78.74 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/6.821, allocations: 4 kB / 3.178 GB, free: 78.74 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-06/6.821, allocations: 0 / 3.178 GB, free: 78.74 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/6.821, allocations: 0 / 3.178 GB, free: 78.74 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002363/6.821, allocations: 277.3 kB / 3.178 GB, free: 78.42 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/6.821, allocations: 3.984 kB / 3.178 GB, free: 78.41 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001246/6.821, allocations: 23.98 kB / 3.178 GB, free: 78.39 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008375/6.822, allocations: 161.5 kB / 3.178 GB, free: 78.23 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.02e-05/6.822, allocations: 8 kB / 3.178 GB, free: 78.22 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002642/6.825, allocations: 3.064 MB / 3.181 GB, free: 74.87 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/6.825, allocations: 4.062 kB / 3.181 GB, free: 74.87 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009682/6.826, allocations: 402 kB / 3.182 GB, free: 74.45 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.322e-05/6.826, allocations: 120.7 kB / 3.182 GB, free: 74.32 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.55e-05/6.826, allocations: 4 kB / 3.182 GB, free: 74.31 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002566/6.826, allocations: 19.98 kB / 3.182 GB, free: 74.29 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.513e-05/6.826, allocations: 23.91 kB / 3.182 GB, free: 74.27 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.632e-05/6.826, allocations: 7.938 kB / 3.182 GB, free: 74.26 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 9.359e-05/6.826, allocations: 143 kB / 3.182 GB, free: 74.12 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.3e-07/6.826, allocations: 0 / 3.182 GB, free: 74.12 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0005822/6.827, allocations: 120 kB / 3.182 GB, free: 74 MB / 0.8698 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.00184/6.829, allocations: 1.549 MB / 3.184 GB, free: 72.43 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0007384/6.83, allocations: 409.9 kB / 3.184 GB, free: 72 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/6.83, allocations: 0 / 3.184 GB, free: 72 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005036/6.83, allocations: 345 kB / 3.184 GB, free: 71.64 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003187/6.83, allocations: 64.02 kB / 3.184 GB, free: 71.58 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000815/6.831, allocations: 347.2 kB / 3.185 GB, free: 71.2 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001645/6.831, allocations: 0.7439 MB / 3.185 GB, free: 70.43 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001839/6.832, allocations: 38 kB / 3.185 GB, free: 70.39 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.507e-05/6.832, allocations: 51.42 kB / 3.186 GB, free: 70.34 MB / 0.8698 GB Notification: Performance of SimCode: time 3.21e-07/6.832, allocations: 0 / 3.186 GB, free: 70.34 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03528/6.867, allocations: 20.79 MB / 3.206 GB, free: 49.73 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002554/6.867, allocations: 201.6 kB / 3.206 GB, free: 49.5 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.379/9.246, allocations: 0 / 3.206 GB, free: 49.5 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1)