Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.63/2.63, allocations: 287.3 MB / 302.3 MB, free: 8.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001591/0.001591, allocations: 187.1 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.151/2.151, allocations: 205.4 MB / 0.6295 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001095/0.001095, allocations: 98.94 kB / 0.7428 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004739/0.0004742, allocations: 11.69 kB / 0.8657 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2373/0.2378, allocations: 115.3 MB / 0.9783 GB, free: 28.31 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.002952/0.2408, allocations: 1.57 MB / 0.9798 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.9049/1.146, allocations: 130.9 MB / 1.108 GB, free: 1.527 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001897/1.146, allocations: 0.9375 kB / 1.108 GB, free: 1.527 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001943/1.146, allocations: 19.39 kB / 1.108 GB, free: 1.52 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0003396/1.147, allocations: 74.28 kB / 1.108 GB, free: 1.512 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001011/1.148, allocations: 215.3 kB / 1.108 GB, free: 1.504 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0003986/1.148, allocations: 157.2 kB / 1.108 GB, free: 1.5 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002095/1.148, allocations: 52.2 kB / 1.108 GB, free: 1.492 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005403/1.149, allocations: 152.3 kB / 1.108 GB, free: 1.473 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001761/1.149, allocations: 70.16 kB / 1.108 GB, free: 1.461 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 3.499e-05/1.149, allocations: 6.406 kB / 1.108 GB, free: 1.461 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006976/1.15, allocations: 190 kB / 1.109 GB, free: 1.453 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 8.19e-05/1.15, allocations: 33.83 kB / 1.109 GB, free: 1.441 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001529/1.15, allocations: 53.48 kB / 1.109 GB, free: 17.41 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0005989/1.151, allocations: 190.9 kB / 1.109 GB, free: 17.39 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/1.151, allocations: 0 / 1.109 GB, free: 17.39 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.255e-06/1.151, allocations: 0 / 1.109 GB, free: 17.39 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.327e-05/1.151, allocations: 0 / 1.109 GB, free: 17.39 MB / 0.698 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.001375/1.152, allocations: 492.1 kB / 1.109 GB, free: 16.98 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.327e-05/1.152, allocations: 13.12 kB / 1.109 GB, free: 16.98 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001071/1.152, allocations: 50.64 kB / 1.109 GB, free: 16.94 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001444/1.154, allocations: 85.83 kB / 1.109 GB, free: 16.93 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004713/1.154, allocations: 222 kB / 1.11 GB, free: 16.72 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001336/1.154, allocations: 36.53 kB / 1.11 GB, free: 16.69 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.667e-05/1.154, allocations: 23.22 kB / 1.11 GB, free: 16.68 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009664/1.155, allocations: 263.6 kB / 1.11 GB, free: 16.58 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.636e-05/1.155, allocations: 5.312 kB / 1.11 GB, free: 16.57 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.183e-05/1.156, allocations: 12.88 kB / 1.11 GB, free: 16.57 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/1.156, allocations: 3.219 kB / 1.11 GB, free: 16.57 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008143/1.156, allocations: 175.2 kB / 1.11 GB, free: 16.56 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002738/1.159, allocations: 1.188 MB / 1.111 GB, free: 15.66 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001318/1.16, allocations: 216.8 kB / 1.111 GB, free: 15.63 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.665e-05/1.161, allocations: 3.375 kB / 1.111 GB, free: 15.63 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.119e-05/1.161, allocations: 36.25 kB / 1.112 GB, free: 15.59 MB / 0.698 GB Notification: Performance of pre-optimization done (n=12): time 3.156e-06/1.161, allocations: 0 / 1.112 GB, free: 15.59 MB / 0.698 GB Notification: Performance of matching and sorting (n=12): time 0.004846/1.165, allocations: 0.639 MB / 1.112 GB, free: 15.33 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.293e-05/1.166, allocations: 58.62 kB / 1.112 GB, free: 15.27 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004137/1.166, allocations: 194.7 kB / 1.112 GB, free: 15.16 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.098e-05/1.166, allocations: 28.77 kB / 1.112 GB, free: 15.13 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001076/1.166, allocations: 139.8 kB / 1.113 GB, free: 15.02 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.221e-05/1.166, allocations: 45.64 kB / 1.113 GB, free: 15 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.289e-05/1.166, allocations: 8.25 kB / 1.113 GB, free: 14.99 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001469/1.166, allocations: 325.1 kB / 1.113 GB, free: 14.68 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003886/1.167, allocations: 71.39 kB / 1.113 GB, free: 14.68 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004193/1.167, allocations: 134.4 kB / 1.113 GB, free: 14.61 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004197/1.168, allocations: 88.84 kB / 1.113 GB, free: 14.6 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/1.168, allocations: 0 / 1.113 GB, free: 14.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.002628/1.17, allocations: 384.2 kB / 1.114 GB, free: 14.52 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.901e-05/1.17, allocations: 13.81 kB / 1.114 GB, free: 14.52 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/1.17, allocations: 1.375 kB / 1.114 GB, free: 14.52 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001916/1.172, allocations: 162.1 kB / 1.114 GB, free: 14.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004254/1.173, allocations: 50.83 kB / 1.114 GB, free: 14.48 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006192/1.179, allocations: 3.048 MB / 1.117 GB, free: 11.87 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006546/1.18, allocations: 41.67 kB / 1.117 GB, free: 11.85 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.126e-05/1.18, allocations: 10.94 kB / 1.117 GB, free: 11.85 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002174/1.18, allocations: 128.4 kB / 1.117 GB, free: 11.73 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.963e-05/1.18, allocations: 15.28 kB / 1.117 GB, free: 11.73 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002339/1.182, allocations: 394.1 kB / 1.117 GB, free: 11.65 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.065e-05/1.183, allocations: 5.969 kB / 1.117 GB, free: 11.65 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/1.183, allocations: 0.6562 kB / 1.117 GB, free: 11.65 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.084e-06/1.183, allocations: 1.734 kB / 1.117 GB, free: 11.65 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005527/1.183, allocations: 275 kB / 1.118 GB, free: 11.45 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/1.183, allocations: 2.562 kB / 1.118 GB, free: 11.45 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002553/1.183, allocations: 23.47 kB / 1.118 GB, free: 11.45 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001733/1.185, allocations: 164.5 kB / 1.118 GB, free: 11.43 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.775e-05/1.185, allocations: 4.406 kB / 1.118 GB, free: 11.43 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005888/1.191, allocations: 3.098 MB / 1.121 GB, free: 8.812 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/1.191, allocations: 1.078 kB / 1.121 GB, free: 8.812 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002255/1.193, allocations: 452.4 kB / 1.121 GB, free: 8.633 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002447/1.194, allocations: 107.5 kB / 1.121 GB, free: 8.531 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.247e-05/1.194, allocations: 5.516 kB / 1.121 GB, free: 8.531 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005036/1.194, allocations: 15.11 kB / 1.121 GB, free: 8.531 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001369/1.194, allocations: 17.94 kB / 1.121 GB, free: 8.531 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.924e-05/1.195, allocations: 6.625 kB / 1.121 GB, free: 8.531 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002924/1.195, allocations: 159.8 kB / 1.122 GB, free: 8.445 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.31e-07/1.195, allocations: 0 / 1.122 GB, free: 8.445 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006382/1.195, allocations: 77.72 kB / 1.122 GB, free: 8.434 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002737/1.198, allocations: 0.9781 MB / 1.123 GB, free: 7.734 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001749/1.2, allocations: 466.8 kB / 1.123 GB, free: 7.488 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/1.2, allocations: 0 / 1.123 GB, free: 7.488 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001135/1.201, allocations: 360.5 kB / 1.123 GB, free: 7.258 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006293/1.202, allocations: 47.36 kB / 1.123 GB, free: 7.258 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005774/1.208, allocations: 2.378 MB / 1.126 GB, free: 5.629 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004348/1.208, allocations: 0.7442 MB / 1.126 GB, free: 4.926 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003999/1.209, allocations: 41.05 kB / 1.126 GB, free: 4.906 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001455/1.209, allocations: 51.81 kB / 1.127 GB, free: 4.898 MB / 0.698 GB Notification: Performance of SimCode: time 1.092e-06/1.209, allocations: 0 / 1.127 GB, free: 4.898 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0437/1.252, allocations: 6.638 MB / 1.133 GB, free: 3.516 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003425/1.253, allocations: 221.6 kB / 1.133 GB, free: 3.281 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.686/3.939, allocations: 0 / 1.133 GB, free: 3.281 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.fmu > Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1)