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.001728/0.001728, allocations: 99.78 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.002999/0.003, 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 2.731/2.731, 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 10.0.0-master/package.mo): time 5.316/5.316, allocations: 409.2 MB / 0.6838 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0007898/0.0007898, allocations: 8 kB / 0.8375 GB, free: 6.531 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.73/1.731, allocations: 146.8 MB / 0.9809 GB, free: 6.266 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.003554/1.735, allocations: 1.342 MB / 0.9822 GB, free: 4.918 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.2935/2.029, allocations: 126.5 MB / 1.106 GB, free: 6.113 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002179/2.029, allocations: 0 / 1.106 GB, free: 6.113 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003515/2.029, allocations: 19.86 kB / 1.106 GB, free: 6.094 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004464/2.03, allocations: 47.86 kB / 1.106 GB, free: 6.047 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009363/2.031, allocations: 155.6 kB / 1.106 GB, free: 5.895 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002778/2.031, allocations: 103.8 kB / 1.106 GB, free: 5.793 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000213/2.031, allocations: 21.02 kB / 1.106 GB, free: 5.773 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004948/2.032, allocations: 115.7 kB / 1.106 GB, free: 5.66 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001637/2.032, allocations: 51.77 kB / 1.106 GB, free: 5.609 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.88e-05/2.032, allocations: 4 kB / 1.106 GB, free: 5.605 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005408/2.032, allocations: 167.8 kB / 1.106 GB, free: 5.441 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.158e-05/2.033, allocations: 19.91 kB / 1.106 GB, free: 5.422 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.447e-05/2.033, allocations: 49.62 kB / 1.106 GB, free: 5.367 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003831/2.033, allocations: 137.9 kB / 1.107 GB, free: 5.234 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/2.033, allocations: 0 / 1.107 GB, free: 5.234 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.906e-06/2.033, allocations: 0 / 1.107 GB, free: 5.234 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.835e-06/2.033, allocations: 0 / 1.107 GB, free: 5.234 MB / 0.8575 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.001473/2.035, allocations: 466.9 kB / 1.107 GB, free: 4.73 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 7.287e-05/2.035, allocations: 8.031 kB / 1.107 GB, free: 4.723 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.292e-05/2.035, allocations: 38.56 kB / 1.107 GB, free: 4.676 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000881/2.036, allocations: 55.75 kB / 1.107 GB, free: 4.621 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00038/2.036, allocations: 202.8 kB / 1.107 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.415e-05/2.036, allocations: 12 kB / 1.107 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.443e-05/2.036, allocations: 4 kB / 1.107 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000711/2.037, allocations: 195.3 kB / 1.107 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/2.037, allocations: 0 / 1.107 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.497e-05/2.037, allocations: 11.94 kB / 1.107 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.336e-06/2.037, allocations: 0 / 1.107 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008236/2.038, allocations: 167.8 kB / 1.108 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001857/2.04, allocations: 0.8361 MB / 1.108 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006677/2.04, allocations: 142.5 kB / 1.109 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.748e-05/2.04, allocations: 0 / 1.109 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.099e-05/2.04, allocations: 46.44 kB / 1.109 GB, free: 2.863 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 2.595e-06/2.04, allocations: 0 / 1.109 GB, free: 2.863 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.003141/2.044, allocations: 487.3 kB / 1.109 GB, free: 2.359 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.81e-05/2.044, allocations: 55.36 kB / 1.109 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002455/2.044, allocations: 154.9 kB / 1.109 GB, free: 2.133 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.158e-05/2.044, allocations: 29.7 kB / 1.109 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001133/2.044, allocations: 112.1 kB / 1.109 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 6.286e-05/2.044, allocations: 27.64 kB / 1.109 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.575e-05/2.044, allocations: 0 / 1.109 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001915/2.044, allocations: 322.8 kB / 1.11 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004014/2.045, allocations: 79.94 kB / 1.11 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004334/2.045, allocations: 112.2 kB / 1.11 GB, free: 1.43 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00043/2.046, allocations: 83.95 kB / 1.11 GB, free: 1.348 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/2.046, allocations: 0 / 1.11 GB, free: 1.348 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001743/2.048, allocations: 302.1 kB / 1.11 GB, free: 1.043 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.455e-05/2.048, allocations: 7.953 kB / 1.11 GB, free: 1.035 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.613e-05/2.048, allocations: 7.984 kB / 1.11 GB, free: 1.027 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009183/2.049, allocations: 84.89 kB / 1.11 GB, free: 0.9414 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003574/2.049, allocations: 43.84 kB / 1.11 GB, free: 0.8984 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0037/2.053, allocations: 1.553 MB / 1.112 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000409/2.053, allocations: 43.86 kB / 1.112 GB, free: 15.17 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.896e-05/2.053, allocations: 4 kB / 1.112 GB, free: 15.16 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.0002045/2.053, allocations: 125.8 kB / 1.112 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.273e-05/2.053, allocations: 11.86 kB / 1.112 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001756/2.055, allocations: 330.9 kB / 1.112 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.775e-06/2.055, allocations: 4 kB / 1.112 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.333e-06/2.055, allocations: 4 kB / 1.112 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/2.055, allocations: 7.922 kB / 1.112 GB, free: 14.67 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005889/2.056, allocations: 249.3 kB / 1.113 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.72e-06/2.056, allocations: 0 / 1.113 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004063/2.056, allocations: 31.97 kB / 1.113 GB, free: 14.34 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008107/2.057, allocations: 88.75 kB / 1.113 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.747e-05/2.057, allocations: 11.98 kB / 1.113 GB, free: 14.24 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003583/2.061, allocations: 1.571 MB / 1.114 GB, free: 12.53 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.987e-06/2.061, allocations: 3.938 kB / 1.114 GB, free: 12.53 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001713/2.063, allocations: 396 kB / 1.115 GB, free: 12.12 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001899/2.063, allocations: 101.2 kB / 1.115 GB, free: 12 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.252e-05/2.063, allocations: 11.98 kB / 1.115 GB, free: 11.99 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003377/2.063, allocations: 19.98 kB / 1.115 GB, free: 11.97 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001133/2.063, allocations: 23.86 kB / 1.115 GB, free: 11.95 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.6e-05/2.063, allocations: 3.984 kB / 1.115 GB, free: 11.95 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001801/2.064, allocations: 117.1 kB / 1.115 GB, free: 11.83 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.41e-07/2.064, allocations: 0 / 1.115 GB, free: 11.83 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0006674/2.064, allocations: 47.91 kB / 1.115 GB, free: 11.79 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.002327/2.067, allocations: 0.9385 MB / 1.116 GB, free: 10.82 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001499/2.068, allocations: 326.7 kB / 1.116 GB, free: 10.48 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 7.895e-06/2.068, allocations: 4 kB / 1.116 GB, free: 10.48 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0008535/2.069, allocations: 246.5 kB / 1.117 GB, free: 10.23 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004885/2.069, allocations: 21.23 kB / 1.117 GB, free: 10.21 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005154/2.075, allocations: 1.651 MB / 1.118 GB, free: 8.488 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006225/2.075, allocations: 0.7166 MB / 1.119 GB, free: 7.746 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0003262/2.076, allocations: 24.83 kB / 1.119 GB, free: 7.723 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000142/2.076, allocations: 39.41 kB / 1.119 GB, free: 7.688 MB / 0.8731 GB Notification: Performance of SimCode: time 1.973e-06/2.076, allocations: 0 / 1.119 GB, free: 7.688 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03239/2.108, allocations: 4.211 MB / 1.123 GB, free: 3.695 MB / 0.8731 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003351/2.109, allocations: 229.5 kB / 1.123 GB, free: 3.453 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.328/5.437, allocations: 0 / 1.123 GB, free: 3.453 MB / 0.8731 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