Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_9_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="Buildings_9_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.0009948/0.0009949, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001027/0.001028, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.451/1.451, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.527/2.527, allocations: 390.3 MB / 0.6653 GB, free: 2.988 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003586/0.0003586, allocations: 8 kB / 0.8146 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8571/0.8575, allocations: 142.3 MB / 0.9536 GB, free: 8.086 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.001876/0.8594, allocations: 1.542 MB / 0.9551 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1677/1.027, allocations: 130.9 MB / 1.083 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001969/1.027, allocations: 0 / 1.083 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001928/1.028, allocations: 19.86 kB / 1.083 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0002864/1.028, allocations: 75.78 kB / 1.083 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.000693/1.029, allocations: 223.4 kB / 1.083 GB, free: 11.01 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002372/1.029, allocations: 167.6 kB / 1.083 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001564/1.029, allocations: 52.67 kB / 1.083 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003878/1.029, allocations: 151.6 kB / 1.084 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001325/1.03, allocations: 75.56 kB / 1.084 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.363e-05/1.03, allocations: 8 kB / 1.084 GB, free: 10.56 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003806/1.03, allocations: 191.7 kB / 1.084 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 6.74e-05/1.03, allocations: 27.91 kB / 1.084 GB, free: 10.35 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 6.329e-05/1.03, allocations: 57.58 kB / 1.084 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0003072/1.03, allocations: 195.6 kB / 1.084 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/1.03, allocations: 0 / 1.084 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of FrontEnd: time 3.467e-06/1.03, allocations: 0 / 1.084 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.252e-06/1.03, allocations: 0 / 1.084 GB, free: 10.09 MB / 0.8419 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.001006/1.031, allocations: 0.5008 MB / 1.085 GB, free: 9.547 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.605e-05/1.032, allocations: 12.03 kB / 1.085 GB, free: 9.535 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.433e-05/1.032, allocations: 50.55 kB / 1.085 GB, free: 9.477 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000861/1.032, allocations: 83.72 kB / 1.085 GB, free: 9.395 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002897/1.033, allocations: 223.8 kB / 1.085 GB, free: 9.137 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.172e-05/1.033, allocations: 46.02 kB / 1.085 GB, free: 9.086 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.278e-05/1.033, allocations: 16 kB / 1.085 GB, free: 9.07 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005278/1.033, allocations: 266.5 kB / 1.085 GB, free: 8.781 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/1.033, allocations: 3.984 kB / 1.085 GB, free: 8.777 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.78e-05/1.034, allocations: 8 kB / 1.085 GB, free: 8.77 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.089e-05/1.034, allocations: 4 kB / 1.085 GB, free: 8.766 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004541/1.034, allocations: 179.8 kB / 1.086 GB, free: 8.59 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001713/1.036, allocations: 1.181 MB / 1.087 GB, free: 7.332 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007365/1.036, allocations: 222.6 kB / 1.087 GB, free: 7.105 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.492e-05/1.036, allocations: 3.984 kB / 1.087 GB, free: 7.102 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.607e-05/1.037, allocations: 30.56 kB / 1.087 GB, free: 7.062 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=12): time 1.603e-06/1.037, allocations: 0 / 1.087 GB, free: 7.062 MB / 0.8419 GB Notification: Performance of matching and sorting (n=12): time 0.002628/1.039, allocations: 0.6415 MB / 1.088 GB, free: 6.371 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.835e-05/1.039, allocations: 51.41 kB / 1.088 GB, free: 6.309 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002901/1.04, allocations: 218.9 kB / 1.088 GB, free: 6.086 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.655e-05/1.04, allocations: 29.7 kB / 1.088 GB, free: 6.051 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001206/1.04, allocations: 140 kB / 1.088 GB, free: 5.91 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.426e-05/1.04, allocations: 43.67 kB / 1.088 GB, free: 5.867 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.629e-05/1.04, allocations: 0 / 1.088 GB, free: 5.867 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001659/1.04, allocations: 334.7 kB / 1.088 GB, free: 5.531 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002295/1.04, allocations: 71.94 kB / 1.088 GB, free: 5.461 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002685/1.04, allocations: 144.5 kB / 1.089 GB, free: 5.293 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002616/1.041, allocations: 88 kB / 1.089 GB, free: 5.207 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/1.041, allocations: 0 / 1.089 GB, free: 5.207 MB / 0.8419 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001429/1.042, allocations: 385.6 kB / 1.089 GB, free: 4.82 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.396e-05/1.042, allocations: 12.16 kB / 1.089 GB, free: 4.809 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/1.042, allocations: 7.953 kB / 1.089 GB, free: 4.801 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001122/1.043, allocations: 161.5 kB / 1.089 GB, free: 4.637 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002527/1.044, allocations: 43.97 kB / 1.089 GB, free: 4.594 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004317/1.048, allocations: 3.052 MB / 1.092 GB, free: 1.27 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003964/1.048, allocations: 39.92 kB / 1.092 GB, free: 1.23 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.914e-05/1.048, allocations: 11.97 kB / 1.092 GB, free: 1.219 MB / 0.8419 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.0002147/1.049, allocations: 129.7 kB / 1.092 GB, free: 1.082 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.428e-05/1.049, allocations: 27.67 kB / 1.092 GB, free: 1.055 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001355/1.05, allocations: 377.6 kB / 1.093 GB, free: 0.6719 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/1.05, allocations: 0 / 1.093 GB, free: 0.6719 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/1.05, allocations: 7.953 kB / 1.093 GB, free: 0.6641 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/1.05, allocations: 3.984 kB / 1.093 GB, free: 0.6602 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003516/1.05, allocations: 273.4 kB / 1.093 GB, free: 352 kB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/1.05, allocations: 0 / 1.093 GB, free: 352 kB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001394/1.051, allocations: 31.91 kB / 1.093 GB, free: 320 kB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009415/1.052, allocations: 161.5 kB / 1.093 GB, free: 152 kB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.877e-05/1.052, allocations: 0 / 1.093 GB, free: 152 kB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003532/1.055, allocations: 3.111 MB / 1.096 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/1.055, allocations: 0 / 1.096 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001248/1.056, allocations: 438.3 kB / 1.097 GB, free: 12.31 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001352/1.057, allocations: 120.9 kB / 1.097 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.393e-05/1.057, allocations: 4 kB / 1.097 GB, free: 12.17 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002789/1.057, allocations: 15.98 kB / 1.097 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.861e-05/1.057, allocations: 15.98 kB / 1.097 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.069e-05/1.057, allocations: 19.81 kB / 1.097 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001898/1.057, allocations: 159.2 kB / 1.097 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/1.057, allocations: 4 kB / 1.097 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004349/1.058, allocations: 75.84 kB / 1.097 GB, free: 11.89 MB / 0.8575 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.001595/1.059, allocations: 0.983 MB / 1.098 GB, free: 10.87 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001029/1.06, allocations: 451.4 kB / 1.098 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/1.06, allocations: 0 / 1.098 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0006555/1.061, allocations: 365.2 kB / 1.099 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000357/1.061, allocations: 51.89 kB / 1.099 GB, free: 9.973 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003442/1.065, allocations: 2.407 MB / 1.101 GB, free: 7.488 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000347/1.065, allocations: 0.7362 MB / 1.102 GB, free: 6.723 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0002272/1.065, allocations: 38.11 kB / 1.102 GB, free: 6.684 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.609e-05/1.065, allocations: 59.41 kB / 1.102 GB, free: 6.625 MB / 0.8575 GB Notification: Performance of SimCode: time 4.71e-07/1.065, allocations: 0 / 1.102 GB, free: 6.625 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01994/1.085, allocations: 6.629 MB / 1.108 GB, free: 240 kB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001857/1.086, allocations: 221 kB / 1.109 GB, free: 16 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.896/2.981, allocations: 0 / 1.109 GB, free: 16 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat does not exist to compare? outputFormat=mat