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.001299/0.001299, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001744/0.001744, allocations: 191.4 kB / 16.14 MB, free: 6.707 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.543/1.543, allocations: 205.1 MB / 222 MB, free: 4.766 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.671/1.671, allocations: 292.3 MB / 0.5484 GB, free: 13.67 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.001515/0.001516, allocations: 66.47 kB / 0.6709 GB, free: 26.5 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2346/0.2361, allocations: 114.5 MB / 0.7828 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.003316/0.2395, allocations: 1.756 MB / 0.7845 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.5711/0.8106, allocations: 147.4 MB / 0.9284 GB, free: 5.934 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001387/0.8108, allocations: 4.906 kB / 0.9284 GB, free: 5.93 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001855/0.8111, allocations: 17.52 kB / 0.9284 GB, free: 5.93 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002673/0.8114, allocations: 42.16 kB / 0.9285 GB, free: 5.93 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004976/0.8119, allocations: 154.8 kB / 0.9286 GB, free: 5.926 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002116/0.8121, allocations: 151.9 kB / 0.9288 GB, free: 5.922 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001201/0.8122, allocations: 28.11 kB / 0.9288 GB, free: 5.922 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001899/0.8141, allocations: 167.8 kB / 0.9289 GB, free: 5.922 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001508/0.8143, allocations: 60.09 kB / 0.929 GB, free: 5.922 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.974e-05/0.8143, allocations: 5.156 kB / 0.929 GB, free: 5.922 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003327/0.8147, allocations: 169.2 kB / 0.9292 GB, free: 5.914 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.413e-05/0.8147, allocations: 21.47 kB / 0.9292 GB, free: 5.914 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 6.896e-05/0.8148, allocations: 45.39 kB / 0.9292 GB, free: 5.914 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003237/0.8151, allocations: 193.3 kB / 0.9294 GB, free: 5.902 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.8151, allocations: 4.875 kB / 0.9294 GB, free: 5.898 MB / 0.7325 GB Notification: Performance of FrontEnd: time 7.31e-07/0.8151, allocations: 0 / 0.9294 GB, free: 5.898 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.8151, allocations: 0 / 0.9294 GB, free: 5.898 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001098/0.8162, allocations: 467.2 kB / 0.9299 GB, free: 21.5 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.8163, allocations: 9.344 kB / 0.9299 GB, free: 21.5 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.709e-05/0.8163, allocations: 39 kB / 0.9299 GB, free: 21.46 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006711/0.817, allocations: 55.91 kB / 0.93 GB, free: 21.45 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002122/0.8172, allocations: 203 kB / 0.9302 GB, free: 21.25 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.8173, allocations: 7.922 kB / 0.9302 GB, free: 21.25 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.748e-05/0.8173, allocations: 8.375 kB / 0.9302 GB, free: 21.25 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004477/0.8177, allocations: 188.8 kB / 0.9304 GB, free: 21.17 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.8178, allocations: 0 / 0.9304 GB, free: 21.17 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.07e-05/0.8178, allocations: 2.391 kB / 0.9304 GB, free: 21.17 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.8178, allocations: 2.594 kB / 0.9304 GB, free: 21.17 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005181/0.8183, allocations: 149.6 kB / 0.9305 GB, free: 21.16 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001237/0.8196, allocations: 0.8196 MB / 0.9313 GB, free: 20.48 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004379/0.82, allocations: 133.1 kB / 0.9314 GB, free: 20.46 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002806/0.8203, allocations: 82.91 kB / 0.9315 GB, free: 20.45 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.745e-05/0.8203, allocations: 0 / 0.9315 GB, free: 20.45 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.087e-05/0.8204, allocations: 32.66 kB / 0.9315 GB, free: 20.41 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=8): time 2.305e-06/0.8204, allocations: 4 kB / 0.9315 GB, free: 20.41 MB / 0.7481 GB Notification: Performance of matching and sorting (n=8): time 0.002017/0.8224, allocations: 462.9 kB / 0.932 GB, free: 20.26 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.349e-05/0.8225, allocations: 51.41 kB / 0.932 GB, free: 20.2 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001212/0.8226, allocations: 150 kB / 0.9322 GB, free: 20.09 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.269e-05/0.8226, allocations: 26.92 kB / 0.9322 GB, free: 20.06 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 5.347e-05/0.8227, allocations: 103.8 kB / 0.9323 GB, free: 19.97 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 2.76e-05/0.8227, allocations: 28.28 kB / 0.9323 GB, free: 19.95 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.832e-05/0.8228, allocations: 35.75 kB / 0.9324 GB, free: 19.93 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 9.297e-05/0.8229, allocations: 323.1 kB / 0.9327 GB, free: 19.62 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002571/0.8231, allocations: 71.45 kB / 0.9327 GB, free: 19.62 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002613/0.8234, allocations: 105.9 kB / 0.9328 GB, free: 19.57 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004921/0.8239, allocations: 177.2 kB / 0.933 GB, free: 19.53 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.8239, allocations: 0 / 0.933 GB, free: 19.53 MB / 0.7481 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.00104/0.825, allocations: 281.7 kB / 0.9333 GB, free: 19.48 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.825, allocations: 9.5 kB / 0.9333 GB, free: 19.48 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.321e-06/0.825, allocations: 1.328 kB / 0.9333 GB, free: 19.48 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005835/0.8256, allocations: 88.2 kB / 0.9334 GB, free: 19.47 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000222/0.8258, allocations: 38.42 kB / 0.9334 GB, free: 19.46 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00202/0.8279, allocations: 1.546 MB / 0.9349 GB, free: 18.17 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002483/0.8281, allocations: 20.38 kB / 0.9349 GB, free: 18.16 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.225e-05/0.8282, allocations: 9.859 kB / 0.9349 GB, free: 18.16 MB / 0.7481 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.0001211/0.8283, allocations: 127.4 kB / 0.9351 GB, free: 18.04 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.843e-05/0.8283, allocations: 10.53 kB / 0.9351 GB, free: 18.04 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001087/0.8294, allocations: 312.5 kB / 0.9354 GB, free: 17.98 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.8295, allocations: 1.875 kB / 0.9354 GB, free: 17.98 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.894e-06/0.8295, allocations: 0 / 0.9354 GB, free: 17.98 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.8295, allocations: 8.188 kB / 0.9354 GB, free: 17.98 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002565/0.8297, allocations: 232.4 kB / 0.9356 GB, free: 17.79 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.8297, allocations: 4 kB / 0.9356 GB, free: 17.79 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002006/0.83, allocations: 33.84 kB / 0.9356 GB, free: 17.79 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000489/0.8305, allocations: 85.78 kB / 0.9357 GB, free: 17.77 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.175e-05/0.8305, allocations: 4.641 kB / 0.9357 GB, free: 17.77 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001645/0.8321, allocations: 1.577 MB / 0.9373 GB, free: 16.47 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.8322, allocations: 0 / 0.9373 GB, free: 16.47 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001029/0.8332, allocations: 379.8 kB / 0.9376 GB, free: 16.32 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 5.155e-05/0.8333, allocations: 84.58 kB / 0.9377 GB, free: 16.22 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.889e-05/0.8333, allocations: 3.703 kB / 0.9377 GB, free: 16.22 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002226/0.8335, allocations: 19.8 kB / 0.9377 GB, free: 16.22 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.097e-05/0.8336, allocations: 8.703 kB / 0.9377 GB, free: 16.22 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.604e-05/0.8336, allocations: 13.88 kB / 0.9378 GB, free: 16.22 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 6.812e-05/0.8337, allocations: 108.8 kB / 0.9379 GB, free: 16.14 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8337, allocations: 0 / 0.9379 GB, free: 16.14 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003353/0.834, allocations: 43.5 kB / 0.9379 GB, free: 16.14 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 (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.001291/0.8353, allocations: 0.9252 MB / 0.9388 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0008358/0.8362, allocations: 306.8 kB / 0.9391 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.8362, allocations: 1.094 kB / 0.9391 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0004917/0.8367, allocations: 223.9 kB / 0.9393 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000329/0.837, allocations: 34.55 kB / 0.9393 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003721/0.8407, allocations: 2.082 MB / 0.9414 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002583/0.841, allocations: 0.7068 MB / 0.9421 GB, free: 13.18 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001914/0.8412, allocations: 25.25 kB / 0.9421 GB, free: 13.17 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.738e-05/0.8413, allocations: 36.77 kB / 0.9421 GB, free: 13.17 MB / 0.7481 GB Notification: Performance of SimCode: time 6.82e-07/0.8413, allocations: 0 / 0.9421 GB, free: 13.17 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04487/0.8862, allocations: 4.302 MB / 0.9463 GB, free: 12.76 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002369/0.8865, allocations: 248 kB / 0.9466 GB, free: 12.5 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.862/2.749, allocations: 2.953 kB / 0.9466 GB, free: 12.5 MB / 0.7481 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)