Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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_TDryBulXi,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",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.001065/0.001065, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.001539/0.001539, allocations: 172.7 kB / 15.95 MB, free: 208 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.544/1.544, allocations: 223.3 MB / 240 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.681/2.681, allocations: 409.4 MB / 0.684 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003673/0.0003674, allocations: 12 kB / 0.8378 GB, free: 6.508 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7671/0.7675, allocations: 146.8 MB / 0.9811 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.001891/0.7694, allocations: 1.362 MB / 0.9825 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.1879/0.9574, allocations: 136 MB / 1.115 GB, free: 12.54 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000122/0.9575, allocations: 0 / 1.115 GB, free: 12.54 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0001732/0.9577, allocations: 19.86 kB / 1.115 GB, free: 12.52 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.0002357/0.958, allocations: 43.7 kB / 1.115 GB, free: 12.47 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004604/0.9584, allocations: 151.5 kB / 1.115 GB, free: 12.32 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0002176/0.9587, allocations: 147.5 kB / 1.116 GB, free: 12.18 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001316/0.9588, allocations: 25.03 kB / 1.116 GB, free: 12.16 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004276/0.9592, allocations: 143.6 kB / 1.116 GB, free: 12.02 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001186/0.9594, allocations: 51.77 kB / 1.116 GB, free: 11.96 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 2.17e-05/0.9594, allocations: 4 kB / 1.116 GB, free: 11.96 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003456/0.9598, allocations: 159.7 kB / 1.116 GB, free: 11.8 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 4.369e-05/0.9598, allocations: 15.92 kB / 1.116 GB, free: 11.79 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 5.063e-05/0.9599, allocations: 41.64 kB / 1.116 GB, free: 11.74 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0002781/0.9602, allocations: 146 kB / 1.116 GB, free: 11.6 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.9602, allocations: 0 / 1.116 GB, free: 11.6 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.292e-06/0.9602, allocations: 0 / 1.116 GB, free: 11.6 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 7.134e-06/0.9602, allocations: 0 / 1.116 GB, free: 11.6 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0009551/0.9612, allocations: 458.8 kB / 1.117 GB, free: 11.11 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/0.9612, allocations: 12.03 kB / 1.117 GB, free: 11.09 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.356e-05/0.9613, allocations: 42.48 kB / 1.117 GB, free: 11.04 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006246/0.9619, allocations: 63.75 kB / 1.117 GB, free: 10.98 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002294/0.9622, allocations: 200.5 kB / 1.117 GB, free: 10.75 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.704e-05/0.9622, allocations: 8 kB / 1.117 GB, free: 10.74 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.686e-05/0.9622, allocations: 4 kB / 1.117 GB, free: 10.73 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000436/0.9627, allocations: 197.8 kB / 1.117 GB, free: 10.52 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.9627, allocations: 0 / 1.117 GB, free: 10.52 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.151e-05/0.9627, allocations: 8 kB / 1.117 GB, free: 10.51 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.9627, allocations: 0 / 1.117 GB, free: 10.51 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004857/0.9632, allocations: 167.8 kB / 1.117 GB, free: 10.35 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001107/0.9643, allocations: 0.8322 MB / 1.118 GB, free: 9.438 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003846/0.9647, allocations: 142.4 kB / 1.118 GB, free: 9.289 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002505/0.965, allocations: 92.8 kB / 1.118 GB, free: 9.195 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.552e-05/0.965, allocations: 0 / 1.118 GB, free: 9.195 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.495e-05/0.9651, allocations: 34.56 kB / 1.118 GB, free: 9.152 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=8): time 1.062e-06/0.9651, allocations: 0 / 1.118 GB, free: 9.152 MB / 0.8731 GB Notification: Performance of matching and sorting (n=8): time 0.001805/0.9669, allocations: 495.1 kB / 1.119 GB, free: 8.641 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.019e-05/0.9669, allocations: 59.41 kB / 1.119 GB, free: 8.57 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001528/0.9671, allocations: 150.9 kB / 1.119 GB, free: 8.414 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.222e-05/0.9671, allocations: 25.7 kB / 1.119 GB, free: 8.383 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 7.354e-05/0.9672, allocations: 112.2 kB / 1.119 GB, free: 8.27 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 3.303e-05/0.9672, allocations: 27.8 kB / 1.119 GB, free: 8.242 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.435e-05/0.9673, allocations: 4 kB / 1.119 GB, free: 8.238 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001232/0.9674, allocations: 322.8 kB / 1.119 GB, free: 7.914 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002522/0.9676, allocations: 79.88 kB / 1.12 GB, free: 7.836 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002551/0.9679, allocations: 116.2 kB / 1.12 GB, free: 7.707 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002585/0.9682, allocations: 91.88 kB / 1.12 GB, free: 7.617 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.9682, allocations: 0 / 1.12 GB, free: 7.617 MB / 0.8731 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000989/0.9692, allocations: 298.1 kB / 1.12 GB, free: 7.316 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.426e-05/0.9692, allocations: 11.95 kB / 1.12 GB, free: 7.305 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.9692, allocations: 0 / 1.12 GB, free: 7.305 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005828/0.9698, allocations: 80.89 kB / 1.12 GB, free: 7.223 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002274/0.9701, allocations: 43.95 kB / 1.12 GB, free: 7.18 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002104/0.9722, allocations: 1.555 MB / 1.122 GB, free: 5.488 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000235/0.9724, allocations: 35.88 kB / 1.122 GB, free: 5.453 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.997e-05/0.9724, allocations: 4 kB / 1.122 GB, free: 5.449 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (10): * Single equations (assignments): 9 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001234/0.9726, allocations: 117.8 kB / 1.122 GB, free: 5.324 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.538e-05/0.9726, allocations: 11.86 kB / 1.122 GB, free: 5.312 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001073/0.9737, allocations: 338.9 kB / 1.122 GB, free: 4.969 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.9737, allocations: 0 / 1.122 GB, free: 4.969 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.604e-06/0.9737, allocations: 0 / 1.122 GB, free: 4.969 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.9737, allocations: 0 / 1.122 GB, free: 4.969 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000305/0.9741, allocations: 249.3 kB / 1.122 GB, free: 4.676 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.9741, allocations: 0 / 1.122 GB, free: 4.676 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002163/0.9743, allocations: 44.14 kB / 1.122 GB, free: 4.633 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00048/0.9748, allocations: 84.75 kB / 1.123 GB, free: 4.547 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.997e-05/0.9748, allocations: 8 kB / 1.123 GB, free: 4.539 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001785/0.9766, allocations: 1.563 MB / 1.124 GB, free: 2.836 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.9766, allocations: 0 / 1.124 GB, free: 2.836 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001014/0.9776, allocations: 410.9 kB / 1.124 GB, free: 2.418 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 9.387e-05/0.9777, allocations: 104.9 kB / 1.125 GB, free: 2.297 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.495e-05/0.9778, allocations: 7.938 kB / 1.125 GB, free: 2.289 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002199/0.978, allocations: 23.98 kB / 1.125 GB, free: 2.266 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.056e-05/0.9781, allocations: 15.92 kB / 1.125 GB, free: 2.25 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.69e-05/0.9781, allocations: 8 kB / 1.125 GB, free: 2.242 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 8.53e-05/0.9782, allocations: 113.1 kB / 1.125 GB, free: 2.133 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.61e-07/0.9782, allocations: 0 / 1.125 GB, free: 2.133 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003749/0.9786, allocations: 47.91 kB / 1.125 GB, free: 2.086 MB / 0.8731 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 (10): * Single equations (assignments): 9 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001367/0.98, allocations: 0.9395 MB / 1.126 GB, free: 1.113 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0008764/0.9809, allocations: 331.1 kB / 1.126 GB, free: 0.7773 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.9809, allocations: 0 / 1.126 GB, free: 0.7773 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0005148/0.9814, allocations: 246.5 kB / 1.126 GB, free: 0.5234 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003608/0.9818, allocations: 25.3 kB / 1.126 GB, free: 0.5 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002458/0.9842, allocations: 1.053 MB / 1.127 GB, free: 15.39 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000251/0.9845, allocations: 0.7127 MB / 1.128 GB, free: 14.65 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0001814/0.9847, allocations: 25 kB / 1.128 GB, free: 14.63 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.025e-05/0.9848, allocations: 39.42 kB / 1.128 GB, free: 14.59 MB / 0.8887 GB Notification: Performance of SimCode: time 2.104e-06/0.9848, allocations: 0 / 1.128 GB, free: 14.59 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01734/1.002, allocations: 4.231 MB / 1.132 GB, free: 10.58 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001865/1.002, allocations: 232.4 kB / 1.132 GB, free: 10.34 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.006/3.008, allocations: 0 / 1.132 GB, free: 10.34 MB / 0.8887 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.mat does not exist to compare? outputFormat=mat