Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001018/0.001018, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 191.2 kB / 16.25 MB, free: 6.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.342/1.342, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002134/0.002135, allocations: 274.8 kB / 290.3 MB, free: 2.148 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9513/0.9513, allocations: 169.2 MB / 0.4978 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001782/0.001782, allocations: 96.69 kB / 0.5948 GB, free: 28.15 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1788/0.1806, allocations: 86.98 MB / 0.6797 GB, free: 0.9648 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.003087/0.1838, allocations: 1.718 MB / 0.6814 GB, free: 15.25 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5111/0.6949, allocations: 147.5 MB / 0.8255 GB, free: 360 kB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001099/0.6951, allocations: 1.125 kB / 0.8255 GB, free: 360 kB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001451/0.6953, allocations: 19.55 kB / 0.8255 GB, free: 352 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002282/0.6955, allocations: 49.91 kB / 0.8255 GB, free: 332 kB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004363/0.696, allocations: 162 kB / 0.8257 GB, free: 312 kB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001569/0.6961, allocations: 163.2 kB / 0.8259 GB, free: 284 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.6962, allocations: 42.52 kB / 0.8259 GB, free: 268 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00166/0.6979, allocations: 191.8 kB / 0.8261 GB, free: 252 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 9.212e-05/0.698, allocations: 61.19 kB / 0.8261 GB, free: 240 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.292e-05/0.698, allocations: 9.125 kB / 0.8261 GB, free: 240 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002741/0.6983, allocations: 165.5 kB / 0.8263 GB, free: 228 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.641e-05/0.6984, allocations: 31.03 kB / 0.8263 GB, free: 220 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.533e-05/0.6984, allocations: 54.39 kB / 0.8264 GB, free: 204 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000265/0.6987, allocations: 200.4 kB / 0.8266 GB, free: 172 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.6987, allocations: 0 / 0.8266 GB, free: 172 kB / 0.5606 GB Notification: Performance of FrontEnd: time 1.633e-06/0.6987, allocations: 1.031 kB / 0.8266 GB, free: 172 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.6987, allocations: 2.672 kB / 0.8266 GB, free: 172 kB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0007665/0.6995, allocations: 466.7 kB / 0.827 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.6995, allocations: 8.969 kB / 0.827 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.849e-05/0.6996, allocations: 42.69 kB / 0.8271 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005984/0.7002, allocations: 58.77 kB / 0.8271 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001691/0.7004, allocations: 203.5 kB / 0.8273 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.7004, allocations: 10.81 kB / 0.8273 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.402e-05/0.7004, allocations: 5.438 kB / 0.8273 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004005/0.7008, allocations: 185.9 kB / 0.8275 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.084e-06/0.7008, allocations: 0 / 0.8275 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.803e-05/0.7009, allocations: 4.188 kB / 0.8275 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.7009, allocations: 2.812 kB / 0.8275 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004468/0.7013, allocations: 145.3 kB / 0.8277 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001016/0.7023, allocations: 0.8218 MB / 0.8285 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003908/0.7027, allocations: 131.2 kB / 0.8286 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002329/0.703, allocations: 82.61 kB / 0.8287 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.418e-05/0.703, allocations: 1.156 kB / 0.8287 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.353e-05/0.7031, allocations: 45.77 kB / 0.8287 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=8): time 1.182e-06/0.7031, allocations: 0 / 0.8287 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8): time 0.00181/0.7049, allocations: 460 kB / 0.8291 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.278e-05/0.7049, allocations: 56.25 kB / 0.8292 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001186/0.705, allocations: 157.7 kB / 0.8294 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.189e-05/0.7051, allocations: 25.7 kB / 0.8294 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.542e-05/0.7051, allocations: 110.6 kB / 0.8295 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.941e-05/0.7052, allocations: 27.91 kB / 0.8295 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.315e-05/0.7052, allocations: 32.03 kB / 0.8295 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.782e-05/0.7053, allocations: 324.4 kB / 0.8298 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002261/0.7056, allocations: 70.75 kB / 0.8299 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002412/0.7058, allocations: 98.42 kB / 0.83 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004633/0.7063, allocations: 181.6 kB / 0.8302 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.7063, allocations: 1.281 kB / 0.8302 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001032/0.7073, allocations: 280.1 kB / 0.8305 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/0.7074, allocations: 9.344 kB / 0.8305 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.7074, allocations: 2.062 kB / 0.8305 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005792/0.708, allocations: 84.72 kB / 0.8305 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002218/0.7082, allocations: 35.23 kB / 0.8306 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001986/0.7102, allocations: 1.659 MB / 0.8322 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002395/0.7104, allocations: 26.41 kB / 0.8322 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.829e-05/0.7105, allocations: 10.19 kB / 0.8322 GB, free: 12.28 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001213/0.7106, allocations: 129.8 kB / 0.8324 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.119e-05/0.7107, allocations: 14.34 kB / 0.8324 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001042/0.7117, allocations: 315.9 kB / 0.8327 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.7117, allocations: 1.156 kB / 0.8327 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-06/0.7117, allocations: 4.969 kB / 0.8327 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.7117, allocations: 0 / 0.8327 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002827/0.712, allocations: 249.4 kB / 0.8329 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.712, allocations: 0.8438 kB / 0.8329 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002121/0.7122, allocations: 34.75 kB / 0.8329 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004594/0.7127, allocations: 75.44 kB / 0.833 GB, free: 11.87 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.467e-05/0.7127, allocations: 10.75 kB / 0.833 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002027/0.7148, allocations: 1.672 MB / 0.8347 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.7148, allocations: 0 / 0.8347 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001037/0.7158, allocations: 382.7 kB / 0.835 GB, free: 10.31 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.707e-05/0.7159, allocations: 102.5 kB / 0.8351 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.722e-05/0.716, allocations: 4.875 kB / 0.8351 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002188/0.7162, allocations: 17.95 kB / 0.8351 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.65e-05/0.7163, allocations: 15.97 kB / 0.8352 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.509e-05/0.7163, allocations: 3.875 kB / 0.8352 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 8.284e-05/0.7164, allocations: 118.3 kB / 0.8353 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7164, allocations: 0 / 0.8353 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003491/0.7167, allocations: 48.12 kB / 0.8353 GB, free: 10.12 MB / 0.5762 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001347/0.7181, allocations: 0.9344 MB / 0.8362 GB, free: 9.426 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009227/0.719, allocations: 311.4 kB / 0.8365 GB, free: 9.301 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.719, allocations: 256 / 0.8365 GB, free: 9.301 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000536/0.7196, allocations: 227.6 kB / 0.8368 GB, free: 9.188 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003388/0.7199, allocations: 34.08 kB / 0.8368 GB, free: 9.18 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00389/0.7238, allocations: 2.097 MB / 0.8388 GB, free: 7.812 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002881/0.7241, allocations: 0.7172 MB / 0.8395 GB, free: 7.109 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001764/0.7243, allocations: 21.72 kB / 0.8396 GB, free: 7.102 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.619e-05/0.7244, allocations: 36.67 kB / 0.8396 GB, free: 7.094 MB / 0.5762 GB Notification: Performance of SimCode: time 7.21e-07/0.7244, allocations: 0 / 0.8396 GB, free: 7.094 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02019/0.7446, allocations: 4.491 MB / 0.844 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002453/0.7449, allocations: 265.8 kB / 0.8442 GB, free: 5.277 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.777/2.522, allocations: 3.938 kB / 0.8442 GB, free: 5.273 MB / 0.5762 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1)