Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.355/1.355, allocations: 252 MB / 267.3 MB, free: 10.85 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009865/0.0009866, allocations: 167 kB / 327 MB, free: 2.105 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.632/1.632, allocations: 205.4 MB / 0.578 GB, free: 20.43 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007868/0.000787, allocations: 88.69 kB / 0.6826 GB, free: 13.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003728/0.0003728, allocations: 10.38 kB / 0.7971 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1996/0.2, allocations: 106.4 MB / 0.9009 GB, free: 63.74 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.00194/0.202, allocations: 1.643 MB / 0.9025 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1495/0.3515, allocations: 151.4 MB / 1.05 GB, free: 6.055 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000206/0.3518, allocations: 7.938 kB / 1.05 GB, free: 6.047 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001968/0.352, allocations: 19.84 kB / 1.05 GB, free: 6.027 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0003573/0.3524, allocations: 67.61 kB / 1.051 GB, free: 5.961 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008363/0.3532, allocations: 231.3 kB / 1.051 GB, free: 5.734 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0003754/0.3536, allocations: 251.1 kB / 1.051 GB, free: 5.488 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001917/0.3538, allocations: 62.28 kB / 1.051 GB, free: 5.426 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002487/0.3563, allocations: 201.1 kB / 1.051 GB, free: 5.246 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001647/0.3565, allocations: 79.61 kB / 1.051 GB, free: 5.168 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.68e-05/0.3565, allocations: 8 kB / 1.051 GB, free: 5.16 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004223/0.357, allocations: 179.6 kB / 1.051 GB, free: 4.984 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 6.834e-05/0.357, allocations: 27.91 kB / 1.052 GB, free: 4.957 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001283/0.3572, allocations: 101.3 kB / 1.052 GB, free: 4.852 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0004809/0.3577, allocations: 255.5 kB / 1.052 GB, free: 4.602 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.3577, allocations: 8 kB / 1.052 GB, free: 4.594 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.104e-06/0.3577, allocations: 0 / 1.052 GB, free: 4.594 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.3577, allocations: 0 / 1.052 GB, free: 4.594 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.0009375/0.3586, allocations: 491 kB / 1.052 GB, free: 4.066 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.3587, allocations: 8.031 kB / 1.052 GB, free: 4.059 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.665e-05/0.3588, allocations: 54.55 kB / 1.052 GB, free: 3.996 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000835/0.3596, allocations: 79.73 kB / 1.052 GB, free: 3.918 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002762/0.3599, allocations: 226.6 kB / 1.053 GB, free: 3.656 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.209e-05/0.36, allocations: 41.97 kB / 1.053 GB, free: 3.609 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.612e-05/0.3601, allocations: 23.88 kB / 1.053 GB, free: 3.586 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005437/0.3606, allocations: 267.3 kB / 1.053 GB, free: 3.297 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.053e-05/0.3606, allocations: 3.938 kB / 1.053 GB, free: 3.293 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.827e-05/0.3607, allocations: 4 kB / 1.053 GB, free: 3.289 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.3607, allocations: 4 kB / 1.053 GB, free: 3.285 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004529/0.3611, allocations: 175.8 kB / 1.053 GB, free: 3.113 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001752/0.3629, allocations: 1.192 MB / 1.054 GB, free: 1.844 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007342/0.3637, allocations: 202.6 kB / 1.055 GB, free: 1.637 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001819/0.3638, allocations: 80.81 kB / 1.055 GB, free: 1.555 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.249e-05/0.3639, allocations: 0 / 1.055 GB, free: 1.555 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.722e-05/0.3639, allocations: 34.56 kB / 1.055 GB, free: 1.512 MB / 0.698 GB Notification: Performance of pre-optimization done (n=12): time 1.082e-06/0.3639, allocations: 0 / 1.055 GB, free: 1.512 MB / 0.698 GB Notification: Performance of matching and sorting (n=12): time 0.002689/0.3666, allocations: 0.6492 MB / 1.055 GB, free: 0.8125 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.521e-05/0.3667, allocations: 51.41 kB / 1.055 GB, free: 0.75 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002294/0.3669, allocations: 198.4 kB / 1.056 GB, free: 0.5469 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.783e-05/0.3669, allocations: 25.7 kB / 1.056 GB, free: 0.5156 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 9.854e-05/0.367, allocations: 143.3 kB / 1.056 GB, free: 380 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.622e-05/0.3671, allocations: 43.45 kB / 1.056 GB, free: 336 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.543e-05/0.3671, allocations: 3.938 kB / 1.056 GB, free: 332 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.4337/0.8008, allocations: 333.6 kB / 1.056 GB, free: 157.7 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003558/0.8012, allocations: 67.97 kB / 1.056 GB, free: 157.7 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002653/0.8015, allocations: 143.2 kB / 1.056 GB, free: 157.7 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004698/0.802, allocations: 208 kB / 1.056 GB, free: 157.6 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/0.802, allocations: 3.719 kB / 1.056 GB, free: 157.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001458/0.8035, allocations: 386.4 kB / 1.057 GB, free: 157.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.188e-05/0.8035, allocations: 5.875 kB / 1.057 GB, free: 157.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/0.8035, allocations: 2.438 kB / 1.057 GB, free: 157.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001012/0.8046, allocations: 174.4 kB / 1.057 GB, free: 157.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002148/0.8048, allocations: 39.03 kB / 1.057 GB, free: 157.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003076/0.8079, allocations: 3.035 MB / 1.06 GB, free: 155 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003435/0.8082, allocations: 37.55 kB / 1.06 GB, free: 155 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.387e-05/0.8083, allocations: 12.34 kB / 1.06 GB, free: 155 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 (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.0001172/0.8084, allocations: 132.1 kB / 1.06 GB, free: 154.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.357e-05/0.8084, allocations: 20.44 kB / 1.06 GB, free: 154.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001246/0.8097, allocations: 382.2 kB / 1.061 GB, free: 154.8 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.8097, allocations: 2.906 kB / 1.061 GB, free: 154.8 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.834e-06/0.8097, allocations: 3.281 kB / 1.061 GB, free: 154.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.8097, allocations: 384 / 1.061 GB, free: 154.8 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002671/0.81, allocations: 270.4 kB / 1.061 GB, free: 154.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.81, allocations: 2.594 kB / 1.061 GB, free: 154.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001326/0.8101, allocations: 30.39 kB / 1.061 GB, free: 154.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009069/0.8111, allocations: 161.9 kB / 1.061 GB, free: 154.5 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.919e-05/0.8111, allocations: 9.812 kB / 1.061 GB, free: 154.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002665/0.8138, allocations: 3.073 MB / 1.064 GB, free: 151.9 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.8138, allocations: 8.531 kB / 1.064 GB, free: 151.9 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001195/0.815, allocations: 443.3 kB / 1.064 GB, free: 151.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.972e-05/0.8151, allocations: 117.2 kB / 1.065 GB, free: 151.6 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.735e-05/0.8151, allocations: 1.312 kB / 1.065 GB, free: 151.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00028/0.8154, allocations: 23.48 kB / 1.065 GB, free: 151.6 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.631e-05/0.8155, allocations: 15.83 kB / 1.065 GB, free: 151.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.885e-05/0.8155, allocations: 6.531 kB / 1.065 GB, free: 151.6 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001558/0.8157, allocations: 151.3 kB / 1.065 GB, free: 151.6 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8157, allocations: 0.875 kB / 1.065 GB, free: 151.6 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003971/0.8161, allocations: 68.97 kB / 1.065 GB, free: 151.6 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 (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.001478/0.8176, allocations: 0.9963 MB / 1.066 GB, free: 150.9 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001003/0.8186, allocations: 451.6 kB / 1.066 GB, free: 150.6 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.8186, allocations: 0 / 1.066 GB, free: 150.6 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000595/0.8192, allocations: 365.9 kB / 1.067 GB, free: 150.4 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004391/0.8197, allocations: 56.09 kB / 1.067 GB, free: 150.4 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004535/0.8242, allocations: 2.598 MB / 1.069 GB, free: 148.9 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001721/0.8244, allocations: 0.726 MB / 1.07 GB, free: 148.2 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002189/0.8246, allocations: 37 kB / 1.07 GB, free: 148.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.619e-05/0.8247, allocations: 54.39 kB / 1.07 GB, free: 148.2 MB / 0.698 GB Notification: Performance of SimCode: time 5.92e-07/0.8247, allocations: 4 kB / 1.07 GB, free: 148.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02124/0.846, allocations: 6.668 MB / 1.076 GB, free: 146.9 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001515/0.8462, allocations: 258.6 kB / 1.077 GB, free: 146.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.947/2.793, allocations: 0 / 1.077 GB, free: 146.7 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1)