Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",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.001152/0.001152, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001059/0.001059, allocations: 191.4 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.436/1.436, allocations: 205.1 MB / 222.1 MB, free: 4.68 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.673/1.673, allocations: 292.3 MB / 0.5486 GB, free: 13.64 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 71.16 kB / 0.6711 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2113/0.2127, allocations: 114.6 MB / 0.783 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.002912/0.2156, allocations: 1.986 MB / 0.7849 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.5766/0.7922, allocations: 153.2 MB / 0.9345 GB, free: 5.992 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001679/0.7924, allocations: 2.625 kB / 0.9345 GB, free: 5.992 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001911/0.7927, allocations: 17.97 kB / 0.9345 GB, free: 5.992 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002945/0.793, allocations: 56.52 kB / 0.9346 GB, free: 5.992 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007011/0.7937, allocations: 239.3 kB / 0.9348 GB, free: 5.977 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002482/0.794, allocations: 259.8 kB / 0.935 GB, free: 5.977 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001819/0.7941, allocations: 64.94 kB / 0.9351 GB, free: 5.965 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001813/0.796, allocations: 230.7 kB / 0.9353 GB, free: 5.965 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001401/0.7961, allocations: 88.44 kB / 0.9354 GB, free: 5.965 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.791e-05/0.7961, allocations: 13.81 kB / 0.9354 GB, free: 5.965 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003655/0.7965, allocations: 190.1 kB / 0.9356 GB, free: 5.961 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 6.132e-05/0.7966, allocations: 49.12 kB / 0.9356 GB, free: 5.957 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 9.371e-05/0.7967, allocations: 87.7 kB / 0.9357 GB, free: 5.957 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003896/0.7971, allocations: 270 kB / 0.936 GB, free: 5.938 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.7971, allocations: 6.812 kB / 0.936 GB, free: 5.938 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.114e-06/0.7971, allocations: 0 / 0.936 GB, free: 5.938 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.843e-06/0.7971, allocations: 0 / 0.936 GB, free: 5.938 MB / 0.7325 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.001139/0.7983, allocations: 0.5084 MB / 0.9365 GB, free: 21.53 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.7983, allocations: 8.688 kB / 0.9365 GB, free: 21.53 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.257e-05/0.7984, allocations: 47.02 kB / 0.9365 GB, free: 21.49 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008779/0.7992, allocations: 88.62 kB / 0.9366 GB, free: 21.48 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002468/0.7995, allocations: 226.5 kB / 0.9368 GB, free: 21.27 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.394e-05/0.7996, allocations: 44.39 kB / 0.9369 GB, free: 21.23 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.055e-05/0.7996, allocations: 14.72 kB / 0.9369 GB, free: 21.23 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005018/0.8001, allocations: 264 kB / 0.9371 GB, free: 21.13 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.8002, allocations: 3.938 kB / 0.9371 GB, free: 21.13 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.624e-05/0.8002, allocations: 7 kB / 0.9372 GB, free: 21.13 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.8002, allocations: 4.578 kB / 0.9372 GB, free: 21.13 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004147/0.8006, allocations: 173.2 kB / 0.9373 GB, free: 21.12 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00155/0.8022, allocations: 1.166 MB / 0.9385 GB, free: 20.25 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007132/0.8029, allocations: 207.7 kB / 0.9387 GB, free: 20.22 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001663/0.8031, allocations: 76.11 kB / 0.9387 GB, free: 20.21 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.72e-05/0.8031, allocations: 2.688 kB / 0.9387 GB, free: 20.21 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.8031, allocations: 31.31 kB / 0.9388 GB, free: 20.17 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=12): time 1.593e-06/0.8032, allocations: 0 / 0.9388 GB, free: 20.17 MB / 0.7481 GB Notification: Performance of matching and sorting (n=12): time 0.002677/0.8058, allocations: 0.6388 MB / 0.9394 GB, free: 19.91 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.887e-05/0.8059, allocations: 53.11 kB / 0.9394 GB, free: 19.84 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002317/0.8061, allocations: 197.8 kB / 0.9396 GB, free: 19.75 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.941e-05/0.8062, allocations: 29.52 kB / 0.9397 GB, free: 19.71 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 7.102e-05/0.8062, allocations: 136.1 kB / 0.9398 GB, free: 19.61 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 3.253e-05/0.8063, allocations: 42.48 kB / 0.9398 GB, free: 19.58 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.69e-05/0.8064, allocations: 51.86 kB / 0.9399 GB, free: 19.56 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001119/0.8065, allocations: 329.9 kB / 0.9402 GB, free: 19.24 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002037/0.8067, allocations: 71.03 kB / 0.9403 GB, free: 19.24 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002204/0.8069, allocations: 133.7 kB / 0.9404 GB, free: 19.17 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003631/0.8073, allocations: 201.9 kB / 0.9406 GB, free: 19.1 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.8073, allocations: 2.75 kB / 0.9406 GB, free: 19.1 MB / 0.7481 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001395/0.8087, allocations: 370 kB / 0.9409 GB, free: 19.04 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.8087, allocations: 7.281 kB / 0.9409 GB, free: 19.04 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.8088, allocations: 3.188 kB / 0.9409 GB, free: 19.04 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001079/0.8098, allocations: 159.9 kB / 0.9411 GB, free: 19.01 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002314/0.8101, allocations: 40.89 kB / 0.9411 GB, free: 19.01 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003691/0.8138, allocations: 3.248 MB / 0.9443 GB, free: 16.23 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003843/0.8142, allocations: 33.38 kB / 0.9443 GB, free: 16.22 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.683e-05/0.8142, allocations: 13.91 kB / 0.9444 GB, free: 16.22 MB / 0.7481 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 (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001437/0.8144, allocations: 135.1 kB / 0.9445 GB, free: 16.1 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.061e-05/0.8144, allocations: 15.69 kB / 0.9445 GB, free: 16.09 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001289/0.8157, allocations: 371.4 kB / 0.9448 GB, free: 16.02 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.8157, allocations: 3.234 kB / 0.9449 GB, free: 16.02 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.8157, allocations: 4 kB / 0.9449 GB, free: 16.02 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.8158, allocations: 1.312 kB / 0.9449 GB, free: 16.02 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002794/0.816, allocations: 274.5 kB / 0.9451 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.816, allocations: 0.7031 kB / 0.9451 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001298/0.8162, allocations: 26.16 kB / 0.9451 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000821/0.817, allocations: 141.1 kB / 0.9453 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.728e-05/0.817, allocations: 7.188 kB / 0.9453 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003422/0.8205, allocations: 3.304 MB / 0.9485 GB, free: 13.01 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.8205, allocations: 0 / 0.9485 GB, free: 13.01 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001271/0.8218, allocations: 435.8 kB / 0.9489 GB, free: 12.84 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 9.9e-05/0.8219, allocations: 107.9 kB / 0.949 GB, free: 12.74 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.31e-05/0.8219, allocations: 8.547 kB / 0.949 GB, free: 12.73 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000306/0.8222, allocations: 18.23 kB / 0.9491 GB, free: 12.73 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.524e-05/0.8223, allocations: 15.72 kB / 0.9491 GB, free: 12.73 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.806e-05/0.8223, allocations: 7.062 kB / 0.9491 GB, free: 12.73 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001559/0.8225, allocations: 150.8 kB / 0.9492 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8225, allocations: 0 / 0.9492 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004242/0.8229, allocations: 78.83 kB / 0.9493 GB, free: 12.64 MB / 0.7481 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 (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001566/0.8245, allocations: 0.9785 MB / 0.9503 GB, free: 11.94 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0009969/0.8255, allocations: 461.7 kB / 0.9507 GB, free: 11.71 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.8255, allocations: 0 / 0.9507 GB, free: 11.71 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0006416/0.8262, allocations: 358.7 kB / 0.951 GB, free: 11.48 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004278/0.8266, allocations: 65.73 kB / 0.9511 GB, free: 11.46 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005144/0.8318, allocations: 2.557 MB / 0.9536 GB, free: 9.969 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003892/0.8322, allocations: 0.734 MB / 0.9543 GB, free: 9.262 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002642/0.8325, allocations: 41.16 kB / 0.9544 GB, free: 9.246 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000104/0.8326, allocations: 52.06 kB / 0.9544 GB, free: 9.238 MB / 0.7481 GB Notification: Performance of SimCode: time 8.72e-07/0.8326, allocations: 0.5625 kB / 0.9544 GB, free: 9.238 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03496/0.8675, allocations: 7.042 MB / 0.9613 GB, free: 8.688 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000278/0.8679, allocations: 247 kB / 0.9615 GB, free: 8.43 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.996/2.863, allocations: 4.234 kB / 0.9615 GB, free: 8.43 MB / 0.7481 GB (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.fmu > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1)