Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="Buildings_latest_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.001014/0.001019, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.008116/0.008116, allocations: 169.6 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.376/1.376, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.705/2.705, allocations: 462.7 MB / 0.7364 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003396/0.0003397, allocations: 9.719 kB / 0.9029 GB, free: 36.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.302/0.3023, allocations: 159.6 MB / 1.059 GB, free: 4.875 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.002282/0.3047, allocations: 1.63 MB / 1.06 GB, free: 3.234 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1575/0.4622, allocations: 151.5 MB / 1.208 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001458/0.4623, allocations: 4 kB / 1.208 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.00016/0.4625, allocations: 15.86 kB / 1.208 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002774/0.4628, allocations: 59.55 kB / 1.208 GB, free: 11.1 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006388/0.4634, allocations: 231.4 kB / 1.209 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003065/0.4638, allocations: 259.1 kB / 1.209 GB, free: 10.62 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001605/0.4639, allocations: 72.95 kB / 1.209 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00193/0.4659, allocations: 214.1 kB / 1.209 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001497/0.466, allocations: 83.61 kB / 1.209 GB, free: 10.28 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.847e-05/0.4661, allocations: 11.94 kB / 1.209 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003377/0.4664, allocations: 171.7 kB / 1.209 GB, free: 10.1 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 6.359e-05/0.4665, allocations: 31.84 kB / 1.209 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001018/0.4666, allocations: 109.2 kB / 1.209 GB, free: 9.957 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003538/0.4669, allocations: 267.2 kB / 1.21 GB, free: 9.695 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.467, allocations: 0 / 1.21 GB, free: 9.695 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.865e-06/0.467, allocations: 4 kB / 1.21 GB, free: 9.691 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.467, allocations: 0 / 1.21 GB, free: 9.691 MB / 0.9669 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.0008524/0.4678, allocations: 0.4911 MB / 1.21 GB, free: 9.152 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.4679, allocations: 15.97 kB / 1.21 GB, free: 9.137 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.383e-05/0.468, allocations: 50.55 kB / 1.21 GB, free: 9.078 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008245/0.4688, allocations: 83.72 kB / 1.21 GB, free: 8.996 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002553/0.469, allocations: 227.3 kB / 1.211 GB, free: 8.734 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.283e-05/0.4691, allocations: 46.03 kB / 1.211 GB, free: 8.684 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.619e-05/0.4692, allocations: 19.94 kB / 1.211 GB, free: 8.664 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005361/0.4697, allocations: 266.6 kB / 1.211 GB, free: 8.375 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.4698, allocations: 7.938 kB / 1.211 GB, free: 8.367 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.673e-05/0.4698, allocations: 4 kB / 1.211 GB, free: 8.363 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.4698, allocations: 8 kB / 1.211 GB, free: 8.355 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004871/0.4703, allocations: 175.8 kB / 1.211 GB, free: 8.184 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001645/0.4719, allocations: 1.18 MB / 1.212 GB, free: 6.926 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007466/0.4727, allocations: 222.6 kB / 1.212 GB, free: 6.699 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001819/0.4729, allocations: 72.81 kB / 1.213 GB, free: 6.625 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.405e-05/0.4729, allocations: 7.938 kB / 1.213 GB, free: 6.617 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.43e-05/0.473, allocations: 34.56 kB / 1.213 GB, free: 6.574 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=12): time 1.753e-06/0.473, allocations: 0 / 1.213 GB, free: 6.574 MB / 0.9669 GB Notification: Performance of matching and sorting (n=12): time 0.002728/0.4757, allocations: 0.6569 MB / 1.213 GB, free: 5.867 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.437e-05/0.4758, allocations: 51.41 kB / 1.213 GB, free: 5.805 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002391/0.476, allocations: 211 kB / 1.213 GB, free: 5.59 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.636e-05/0.476, allocations: 29.7 kB / 1.213 GB, free: 5.555 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.586e-05/0.4761, allocations: 136 kB / 1.214 GB, free: 5.418 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.945e-05/0.4762, allocations: 51.31 kB / 1.214 GB, free: 5.367 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.322e-05/0.4762, allocations: 17.72 kB / 1.214 GB, free: 5.344 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.4763, allocations: 338.8 kB / 1.214 GB, free: 5.004 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002271/0.4766, allocations: 71.95 kB / 1.214 GB, free: 4.934 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002455/0.4768, allocations: 145.8 kB / 1.214 GB, free: 4.766 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004362/0.4773, allocations: 203.7 kB / 1.214 GB, free: 4.543 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.4773, allocations: 0 / 1.214 GB, free: 4.543 MB / 0.9669 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001457/0.4787, allocations: 391.6 kB / 1.215 GB, free: 4.148 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.4788, allocations: 4 kB / 1.215 GB, free: 4.145 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.4788, allocations: 4 kB / 1.215 GB, free: 4.141 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001053/0.4798, allocations: 165.7 kB / 1.215 GB, free: 3.973 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002084/0.48, allocations: 43.91 kB / 1.215 GB, free: 3.93 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003646/0.4837, allocations: 3.033 MB / 1.218 GB, free: 0.625 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003335/0.4841, allocations: 35.67 kB / 1.218 GB, free: 0.5898 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.474e-05/0.4841, allocations: 19.92 kB / 1.218 GB, free: 0.5703 MB / 0.9669 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.0001302/0.4842, allocations: 121.8 kB / 1.218 GB, free: 452 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.17e-05/0.4843, allocations: 23.81 kB / 1.218 GB, free: 428 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001299/0.4856, allocations: 390.6 kB / 1.219 GB, free: 24 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.4856, allocations: 0 / 1.219 GB, free: 24 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.4856, allocations: 3.938 kB / 1.219 GB, free: 20 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.4856, allocations: 4 kB / 1.219 GB, free: 16 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000315/0.4859, allocations: 273.4 kB / 1.219 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.626e-06/0.486, allocations: 3.984 kB / 1.219 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001294/0.4861, allocations: 27.98 kB / 1.219 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009485/0.487, allocations: 153.5 kB / 1.219 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.84e-05/0.4871, allocations: 11.98 kB / 1.219 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003342/0.4904, allocations: 3.076 MB / 1.222 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.4904, allocations: 0 / 1.222 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001253/0.4917, allocations: 448.8 kB / 1.222 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001209/0.4918, allocations: 124.8 kB / 1.223 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.316e-05/0.4919, allocations: 7.984 kB / 1.223 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002793/0.4922, allocations: 15.92 kB / 1.223 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.685e-05/0.4922, allocations: 23.97 kB / 1.223 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.818e-05/0.4923, allocations: 8 kB / 1.223 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001706/0.4924, allocations: 159.2 kB / 1.223 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.2e-07/0.4924, allocations: 0 / 1.223 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004096/0.4929, allocations: 68 kB / 1.223 GB, free: 11.27 MB / 0.9825 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.001575/0.4944, allocations: 0.9924 MB / 1.224 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001012/0.4955, allocations: 453.5 kB / 1.224 GB, free: 9.77 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.4955, allocations: 0 / 1.224 GB, free: 9.77 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0006474/0.4961, allocations: 357.3 kB / 1.225 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004396/0.4966, allocations: 58.19 kB / 1.225 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005093/0.5017, allocations: 2.624 MB / 1.227 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003308/0.502, allocations: 0.7361 MB / 1.228 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0002034/0.5022, allocations: 37.92 kB / 1.228 GB, free: 5.793 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.602e-05/0.5023, allocations: 51.41 kB / 1.228 GB, free: 5.742 MB / 0.9825 GB Notification: Performance of SimCode: time 2.3e-07/0.5023, allocations: 0 / 1.228 GB, free: 5.742 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01944/0.5218, allocations: 6.64 MB / 1.234 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002043/0.522, allocations: 259.8 kB / 1.235 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.958/2.48, allocations: 0 / 1.235 GB, free: 15.11 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat does not exist to compare? outputFormat=mat