Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_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.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Psychrometrics_Validation_WetBulb_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Psychrometrics_Validation_WetBulb_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.001131/0.001131, allocations: 109.4 kB / 15.69 MB, free: 128 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.001243/0.001243, allocations: 187.7 kB / 16.62 MB, free: 6.613 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.44/1.44, allocations: 205.1 MB / 222.5 MB, free: 4.551 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.713/1.713, allocations: 292.3 MB / 0.549 GB, free: 12.74 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.001414/0.001414, allocations: 76.89 kB / 0.6718 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2311/0.2325, allocations: 114.5 MB / 0.7836 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi): time 0.003054/0.2356, allocations: 1.935 MB / 0.7855 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.6509/0.8865, allocations: 153.5 MB / 0.9354 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002013/0.8868, allocations: 2.625 kB / 0.9354 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002258/0.8871, allocations: 23.98 kB / 0.9354 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003299/0.8874, allocations: 67.39 kB / 0.9355 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006836/0.8881, allocations: 219.1 kB / 0.9357 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002566/0.8884, allocations: 207.9 kB / 0.9359 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002422/0.8886, allocations: 68.47 kB / 0.936 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001191/0.8898, allocations: 215.5 kB / 0.9362 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000153/0.89, allocations: 90.22 kB / 0.9363 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.99e-05/0.89, allocations: 12.34 kB / 0.9363 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003901/0.8904, allocations: 188.2 kB / 0.9365 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.269e-05/0.8905, allocations: 39.22 kB / 0.9365 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.275e-05/0.8906, allocations: 82.73 kB / 0.9366 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004161/0.891, allocations: 277.6 kB / 0.9368 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.891, allocations: 0 / 0.9368 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.523e-06/0.891, allocations: 0 / 0.9368 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.884e-06/0.8911, allocations: 0 / 0.9368 GB, free: 2.547 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.001103/0.8922, allocations: 0.4949 MB / 0.9373 GB, free: 18.14 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.8922, allocations: 9.656 kB / 0.9373 GB, free: 18.14 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.719e-05/0.8923, allocations: 55.97 kB / 0.9374 GB, free: 18.09 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008871/0.8932, allocations: 87.64 kB / 0.9375 GB, free: 18.08 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002641/0.8934, allocations: 221.8 kB / 0.9377 GB, free: 17.87 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.71e-05/0.8935, allocations: 16.75 kB / 0.9377 GB, free: 17.86 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.955e-05/0.8935, allocations: 13.38 kB / 0.9377 GB, free: 17.86 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004916/0.894, allocations: 263.3 kB / 0.938 GB, free: 17.77 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.894, allocations: 1.094 kB / 0.938 GB, free: 17.77 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.357e-05/0.894, allocations: 9.188 kB / 0.938 GB, free: 17.77 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.026e-06/0.8941, allocations: 8.469 kB / 0.938 GB, free: 17.76 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005373/0.8946, allocations: 191 kB / 0.9382 GB, free: 17.76 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001338/0.896, allocations: 1.011 MB / 0.9391 GB, free: 17.02 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004586/0.8964, allocations: 168 kB / 0.9393 GB, free: 17 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002091/0.8967, allocations: 77.25 kB / 0.9394 GB, free: 16.99 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.005e-05/0.8967, allocations: 2.531 kB / 0.9394 GB, free: 16.99 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.483e-05/0.8967, allocations: 34.12 kB / 0.9394 GB, free: 16.95 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=11): time 1.393e-06/0.8967, allocations: 0 / 0.9394 GB, free: 16.95 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11): time 0.0007561/0.8975, allocations: 242.1 kB / 0.9396 GB, free: 16.9 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.311e-05/0.8975, allocations: 52.34 kB / 0.9397 GB, free: 16.84 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002273/0.8978, allocations: 207.9 kB / 0.9399 GB, free: 16.73 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.661e-05/0.8978, allocations: 25.7 kB / 0.9399 GB, free: 16.7 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.266e-05/0.8979, allocations: 141.4 kB / 0.9401 GB, free: 16.59 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.314e-05/0.8979, allocations: 38.39 kB / 0.9401 GB, free: 16.57 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.964e-05/0.898, allocations: 53.66 kB / 0.9401 GB, free: 16.55 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001268/0.8982, allocations: 326.7 kB / 0.9405 GB, free: 16.23 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002434/0.8984, allocations: 73.23 kB / 0.9405 GB, free: 16.23 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002611/0.8987, allocations: 129.5 kB / 0.9406 GB, free: 16.18 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004461/0.8991, allocations: 196.1 kB / 0.9408 GB, free: 16.12 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.8992, allocations: 0 / 0.9408 GB, free: 16.12 MB / 0.7325 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006389/0.8998, allocations: 251 kB / 0.9411 GB, free: 16.06 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.8998, allocations: 5.688 kB / 0.9411 GB, free: 16.06 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.8998, allocations: 4.031 kB / 0.9411 GB, free: 16.06 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.8999, allocations: 2.031 kB / 0.9411 GB, free: 16.06 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003506/0.9002, allocations: 56.22 kB / 0.9411 GB, free: 16.06 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.39e-05/0.9002, allocations: 8.891 kB / 0.9411 GB, free: 16.05 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003229/0.9006, allocations: 30.38 kB / 0.9412 GB, free: 16.05 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.353e-05/0.9006, allocations: 18.55 kB / 0.9412 GB, free: 16.04 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001373/0.9008, allocations: 122.1 kB / 0.9413 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.287e-05/0.9008, allocations: 20.41 kB / 0.9413 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00069/0.9015, allocations: 299.3 kB / 0.9416 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.652e-06/0.9015, allocations: 6.797 kB / 0.9416 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.9015, allocations: 0.5312 kB / 0.9416 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.9016, allocations: 2.391 kB / 0.9416 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003257/0.9019, allocations: 290.4 kB / 0.9419 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.9019, allocations: 0 / 0.9419 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002881/0.9022, allocations: 47.16 kB / 0.9419 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.9022, allocations: 0.5625 kB / 0.9419 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.404e-05/0.9022, allocations: 12.28 kB / 0.942 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.9022, allocations: 5 kB / 0.942 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.9022, allocations: 2.391 kB / 0.942 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006486/0.9029, allocations: 335 kB / 0.9423 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.185e-05/0.903, allocations: 92.92 kB / 0.9424 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.143e-05/0.903, allocations: 9.344 kB / 0.9424 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002446/0.9033, allocations: 14.92 kB / 0.9424 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.161e-05/0.9033, allocations: 15.34 kB / 0.9424 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.152e-05/0.9034, allocations: 8.203 kB / 0.9424 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001915/0.9036, allocations: 152.8 kB / 0.9426 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9036, allocations: 0 / 0.9426 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003687/0.9039, allocations: 56.22 kB / 0.9426 GB, free: 15.31 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 (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001096/0.9051, allocations: 0.8925 MB / 0.9435 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00069/0.9058, allocations: 201.6 kB / 0.9437 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.9058, allocations: 0 / 0.9437 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003034/0.9061, allocations: 111.5 kB / 0.9438 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004434/0.9065, allocations: 50.02 kB / 0.9438 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003401/0.9099, allocations: 2.215 MB / 0.946 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003394/0.9103, allocations: 0.7301 MB / 0.9467 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002541/0.9106, allocations: 50.02 kB / 0.9468 GB, free: 12.53 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001475/0.9107, allocations: 68.41 kB / 0.9468 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of SimCode: time 1.303e-06/0.9107, allocations: 4 kB / 0.9468 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02398/0.9347, allocations: 5.368 MB / 0.9521 GB, free: 11.97 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.757/8.692, allocations: 1.031 kB / 0.9521 GB, free: 11.97 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Psychrometrics_Validation_WetBulb_TDryBulPhi.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe 2>&1)