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.0011/0.0011, allocations: 105.4 kB / 15.7 MB, free: 28 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.001193/0.001193, allocations: 194.2 kB / 16.64 MB, free: 6.453 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.384/1.384, allocations: 205.1 MB / 222.5 MB, free: 4.527 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.669/1.669, allocations: 292.3 MB / 0.549 GB, free: 12.73 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.001564/0.001564, allocations: 71.47 kB / 0.6718 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2307/0.2323, allocations: 114.5 MB / 0.7836 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003457/0.2358, allocations: 1.928 MB / 0.7855 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.6343/0.8701, allocations: 155.4 MB / 0.9372 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002352/0.8704, allocations: 6.094 kB / 0.9372 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002306/0.8707, allocations: 28.58 kB / 0.9373 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004058/0.8711, allocations: 63.98 kB / 0.9373 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008929/0.872, allocations: 264.2 kB / 0.9376 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003938/0.8724, allocations: 255.2 kB / 0.9378 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002023/0.8727, allocations: 68.95 kB / 0.9379 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001363/0.874, allocations: 241.7 kB / 0.9381 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002428/0.8743, allocations: 92.23 kB / 0.9382 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.137e-05/0.8743, allocations: 17.34 kB / 0.9382 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004782/0.8748, allocations: 187.9 kB / 0.9384 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.733e-05/0.8749, allocations: 42.03 kB / 0.9385 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001399/0.8751, allocations: 85.94 kB / 0.9385 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000519/0.8756, allocations: 277.7 kB / 0.9388 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.8756, allocations: 4.062 kB / 0.9388 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.013e-06/0.8756, allocations: 0 / 0.9388 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.174e-06/0.8756, allocations: 0 / 0.9388 GB, free: 2.293 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.001093/0.8767, allocations: 0.51 MB / 0.9393 GB, free: 17.88 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.8768, allocations: 10.09 kB / 0.9393 GB, free: 17.88 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.105e-05/0.8769, allocations: 48.8 kB / 0.9394 GB, free: 17.84 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008474/0.8777, allocations: 84.97 kB / 0.9394 GB, free: 17.83 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002962/0.878, allocations: 229.1 kB / 0.9397 GB, free: 17.62 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.747e-05/0.8781, allocations: 40.75 kB / 0.9397 GB, free: 17.58 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.171e-05/0.8781, allocations: 18.59 kB / 0.9397 GB, free: 17.58 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005104/0.8787, allocations: 257.6 kB / 0.94 GB, free: 17.48 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.8787, allocations: 2.266 kB / 0.94 GB, free: 17.48 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.659e-05/0.8787, allocations: 10.22 kB / 0.94 GB, free: 17.48 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.8787, allocations: 7.156 kB / 0.94 GB, free: 17.48 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004687/0.8792, allocations: 171.1 kB / 0.9401 GB, free: 17.46 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001791/0.881, allocations: 1.168 MB / 0.9413 GB, free: 16.58 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007371/0.8817, allocations: 207.5 kB / 0.9415 GB, free: 16.55 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002063/0.882, allocations: 74.83 kB / 0.9415 GB, free: 16.54 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.063e-05/0.882, allocations: 1.375 kB / 0.9415 GB, free: 16.54 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.507e-05/0.882, allocations: 37.77 kB / 0.9416 GB, free: 16.5 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=12): time 1.643e-06/0.8821, allocations: 1.203 kB / 0.9416 GB, free: 16.5 MB / 0.7325 GB Notification: Performance of matching and sorting (n=12): time 0.002796/0.8849, allocations: 0.6236 MB / 0.9422 GB, free: 16.23 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.555e-05/0.8849, allocations: 55.34 kB / 0.9422 GB, free: 16.17 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00029/0.8852, allocations: 201.6 kB / 0.9424 GB, free: 16.07 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.608e-05/0.8853, allocations: 30.23 kB / 0.9425 GB, free: 16.04 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.8854, allocations: 133 kB / 0.9426 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.14e-05/0.8854, allocations: 40.92 kB / 0.9426 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000106/0.8855, allocations: 50.84 kB / 0.9427 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.8857, allocations: 331 kB / 0.943 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000232/0.8859, allocations: 70.83 kB / 0.9431 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002567/0.8862, allocations: 133.5 kB / 0.9432 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004551/0.8866, allocations: 200.3 kB / 0.9434 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.8867, allocations: 4.656 kB / 0.9434 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001498/0.8882, allocations: 367.8 kB / 0.9437 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.595e-05/0.8882, allocations: 6.125 kB / 0.9437 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.8882, allocations: 6.938 kB / 0.9438 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001106/0.8893, allocations: 159.9 kB / 0.9439 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002305/0.8896, allocations: 43.19 kB / 0.9439 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004152/0.8937, allocations: 3.256 MB / 0.9471 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003613/0.8941, allocations: 32.61 kB / 0.9472 GB, free: 12.49 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.866e-05/0.8942, allocations: 16.55 kB / 0.9472 GB, free: 12.49 MB / 0.7325 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.0001676/0.8943, allocations: 132.5 kB / 0.9473 GB, free: 12.37 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.755e-05/0.8944, allocations: 16.03 kB / 0.9473 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001292/0.8957, allocations: 369.3 kB / 0.9477 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.65e-06/0.8957, allocations: 2.312 kB / 0.9477 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.8957, allocations: 0.8125 kB / 0.9477 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.8957, allocations: 5.141 kB / 0.9477 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003343/0.8961, allocations: 272.6 kB / 0.9479 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.8961, allocations: 0 / 0.9479 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001381/0.8962, allocations: 24.05 kB / 0.948 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008407/0.8971, allocations: 141.4 kB / 0.9481 GB, free: 12.06 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.981e-05/0.8971, allocations: 6.484 kB / 0.9481 GB, free: 12.06 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003954/0.9011, allocations: 3.3 MB / 0.9513 GB, free: 9.262 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.9011, allocations: 0 / 0.9513 GB, free: 9.262 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001408/0.9025, allocations: 438.6 kB / 0.9517 GB, free: 9.086 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001177/0.9026, allocations: 103.6 kB / 0.9518 GB, free: 8.984 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.753e-05/0.9027, allocations: 8.781 kB / 0.9518 GB, free: 8.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002804/0.903, allocations: 15.47 kB / 0.9519 GB, free: 8.98 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.336e-05/0.9031, allocations: 21.98 kB / 0.9519 GB, free: 8.977 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.072e-05/0.9031, allocations: 3.781 kB / 0.9519 GB, free: 8.977 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000218/0.9033, allocations: 147.4 kB / 0.952 GB, free: 8.902 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.112e-06/0.9033, allocations: 0 / 0.952 GB, free: 8.902 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000518/0.9039, allocations: 79.58 kB / 0.9521 GB, free: 8.891 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 (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.001769/0.9056, allocations: 0.9805 MB / 0.9531 GB, free: 8.18 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001071/0.9067, allocations: 445.2 kB / 0.9535 GB, free: 7.941 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.9067, allocations: 1.188 kB / 0.9535 GB, free: 7.941 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0006586/0.9074, allocations: 358.6 kB / 0.9538 GB, free: 7.711 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004565/0.9079, allocations: 68.36 kB / 0.9539 GB, free: 7.691 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00539/0.9133, allocations: 2.492 MB / 0.9563 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003366/0.9136, allocations: 0.7309 MB / 0.957 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000215/0.9139, allocations: 46.34 kB / 0.9571 GB, free: 5.543 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.714e-05/0.914, allocations: 55.55 kB / 0.9571 GB, free: 5.535 MB / 0.7325 GB Notification: Performance of SimCode: time 1.022e-06/0.914, allocations: 0 / 0.9571 GB, free: 5.535 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03085/0.9448, allocations: 7.222 MB / 0.9642 GB, free: 4.793 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/12.35, allocations: 10.19 kB / 0.9642 GB, free: 4.785 MB / 0.7325 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.fmu > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1)