Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 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_TDryBulXi,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="Buildings_8_Buildings_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.0009889/0.0009891, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001061/0.001061, allocations: 196.2 kB / 16.53 MB, free: 6.699 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.267/1.267, allocations: 205.1 MB / 222.4 MB, free: 4.621 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.591/1.591, allocations: 292.3 MB / 0.5489 GB, free: 12.83 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.002609/0.002609, allocations: 71.27 kB / 0.6716 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.194/0.1966, allocations: 114.5 MB / 0.7835 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.002588/0.1992, allocations: 1.687 MB / 0.7851 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.4993/0.6986, allocations: 149.6 MB / 0.9313 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.314e-05/0.6987, allocations: 0 / 0.9313 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001509/0.6989, allocations: 23.22 kB / 0.9313 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002674/0.6992, allocations: 52.91 kB / 0.9313 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000499/0.6997, allocations: 187.2 kB / 0.9315 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001702/0.6999, allocations: 154.5 kB / 0.9317 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001407/0.7, allocations: 30.05 kB / 0.9317 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001059/0.7011, allocations: 185.7 kB / 0.9319 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.696e-05/0.7012, allocations: 61.41 kB / 0.9319 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.485e-05/0.7012, allocations: 10.75 kB / 0.9319 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002952/0.7015, allocations: 159.6 kB / 0.9321 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.587e-05/0.7016, allocations: 29.42 kB / 0.9321 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.558e-05/0.7016, allocations: 52.47 kB / 0.9322 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003007/0.7019, allocations: 192.7 kB / 0.9323 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.702, allocations: 0 / 0.9323 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.623e-06/0.702, allocations: 1.188 kB / 0.9323 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.702, allocations: 0 / 0.9323 GB, free: 2.824 MB / 0.7169 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.0008442/0.7028, allocations: 464 kB / 0.9328 GB, free: 18.43 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.7029, allocations: 8.984 kB / 0.9328 GB, free: 18.43 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.924e-05/0.7029, allocations: 41.39 kB / 0.9328 GB, free: 18.39 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005992/0.7035, allocations: 58.42 kB / 0.9329 GB, free: 18.38 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001742/0.7037, allocations: 201.9 kB / 0.9331 GB, free: 18.17 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.627e-06/0.7037, allocations: 3.719 kB / 0.9331 GB, free: 18.17 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.432e-05/0.7037, allocations: 8.5 kB / 0.9331 GB, free: 18.17 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003992/0.7041, allocations: 186.8 kB / 0.9333 GB, free: 18.09 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.7042, allocations: 2.531 kB / 0.9333 GB, free: 18.09 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.943e-05/0.7042, allocations: 3.312 kB / 0.9333 GB, free: 18.09 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.461e-06/0.7042, allocations: 5.125 kB / 0.9333 GB, free: 18.09 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004478/0.7047, allocations: 139.8 kB / 0.9334 GB, free: 18.09 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009295/0.7056, allocations: 0.829 MB / 0.9342 GB, free: 17.39 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003462/0.7059, allocations: 130.8 kB / 0.9343 GB, free: 17.37 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002224/0.7062, allocations: 82.73 kB / 0.9344 GB, free: 17.36 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.639e-05/0.7062, allocations: 0 / 0.9344 GB, free: 17.36 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.773e-05/0.7062, allocations: 36.52 kB / 0.9345 GB, free: 17.32 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 1.403e-06/0.7062, allocations: 2.625 kB / 0.9345 GB, free: 17.32 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.00175/0.708, allocations: 464.6 kB / 0.9349 GB, free: 17.16 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.949e-05/0.708, allocations: 54.03 kB / 0.935 GB, free: 17.1 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.93e-05/0.7081, allocations: 143.9 kB / 0.9351 GB, free: 16.99 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.086e-05/0.7082, allocations: 32.14 kB / 0.9351 GB, free: 16.96 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.62e-05/0.7082, allocations: 103.1 kB / 0.9352 GB, free: 16.87 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.177e-05/0.7082, allocations: 27.64 kB / 0.9353 GB, free: 16.86 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.718e-05/0.7083, allocations: 34.58 kB / 0.9353 GB, free: 16.84 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 8.007e-05/0.7084, allocations: 330.3 kB / 0.9356 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002229/0.7086, allocations: 65.7 kB / 0.9357 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002309/0.7088, allocations: 100.9 kB / 0.9358 GB, free: 16.48 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004429/0.7093, allocations: 186.5 kB / 0.9359 GB, free: 16.42 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.7093, allocations: 0 / 0.9359 GB, free: 16.42 MB / 0.7325 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0009461/0.7103, allocations: 275 kB / 0.9362 GB, free: 16.37 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.7103, allocations: 15.59 kB / 0.9362 GB, free: 16.36 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.7103, allocations: 0 / 0.9362 GB, free: 16.36 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005378/0.7108, allocations: 84.14 kB / 0.9363 GB, free: 16.35 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002218/0.7111, allocations: 35.27 kB / 0.9363 GB, free: 16.35 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001811/0.7129, allocations: 1.671 MB / 0.938 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002023/0.7131, allocations: 16.11 kB / 0.938 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.693e-05/0.7131, allocations: 5.266 kB / 0.938 GB, free: 14.94 MB / 0.7325 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 9.023e-05/0.7132, allocations: 128.8 kB / 0.9381 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.928e-05/0.7133, allocations: 11.44 kB / 0.9381 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001017/0.7143, allocations: 318.1 kB / 0.9384 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.7143, allocations: 0 / 0.9384 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.7143, allocations: 4.969 kB / 0.9384 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.7143, allocations: 0 / 0.9384 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002064/0.7145, allocations: 230.2 kB / 0.9386 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.7145, allocations: 2.516 kB / 0.9386 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001932/0.7147, allocations: 35.05 kB / 0.9387 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004115/0.7152, allocations: 77.45 kB / 0.9388 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.609e-05/0.7152, allocations: 7.625 kB / 0.9388 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001577/0.7168, allocations: 1.684 MB / 0.9404 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.7168, allocations: 0 / 0.9404 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009375/0.7177, allocations: 376.7 kB / 0.9408 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.093e-05/0.7178, allocations: 89.67 kB / 0.9408 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.44e-05/0.7178, allocations: 1.781 kB / 0.9408 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002035/0.718, allocations: 22.25 kB / 0.9409 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.417e-05/0.7181, allocations: 13.08 kB / 0.9409 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.376e-05/0.7181, allocations: 10.12 kB / 0.9409 GB, free: 12.87 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.646e-05/0.7182, allocations: 107 kB / 0.941 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7182, allocations: 3.938 kB / 0.941 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003011/0.7185, allocations: 45.19 kB / 0.941 GB, free: 12.79 MB / 0.7325 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.001259/0.7197, allocations: 0.9293 MB / 0.9419 GB, free: 12.1 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0008299/0.7206, allocations: 312 kB / 0.9422 GB, free: 11.97 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.7206, allocations: 0 / 0.9422 GB, free: 11.97 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005007/0.7211, allocations: 232.8 kB / 0.9425 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003017/0.7214, allocations: 25.09 kB / 0.9425 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003517/0.7249, allocations: 2.055 MB / 0.9445 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002092/0.7252, allocations: 0.7065 MB / 0.9452 GB, free: 9.844 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001582/0.7253, allocations: 31.44 kB / 0.9452 GB, free: 9.824 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.316e-05/0.7254, allocations: 33.67 kB / 0.9453 GB, free: 9.82 MB / 0.7325 GB Notification: Performance of SimCode: time 3.2e-07/0.7254, allocations: 1.219 kB / 0.9453 GB, free: 9.82 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03638/0.7618, allocations: 4.655 MB / 0.9498 GB, free: 9.281 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.76/14.53, allocations: 10.27 kB / 0.9498 GB, free: 9.273 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.fmu > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1)