Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 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_TDryBulXi,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="Buildings_9_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.0009484/0.0009485, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.00118/0.00118, allocations: 168.7 kB / 15.95 MB, free: 204 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.445/1.445, allocations: 223.2 MB / 240 MB, free: 5.402 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.607/2.607, allocations: 390.4 MB / 0.6655 GB, free: 2.969 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000397/0.0003971, allocations: 12 kB / 0.8149 GB, free: 14.11 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7549/0.7553, allocations: 142.3 MB / 0.9538 GB, free: 8.082 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.001404/0.7567, allocations: 1.351 MB / 0.9552 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1745/0.9312, allocations: 136 MB / 1.088 GB, free: 6.414 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001512/0.9314, allocations: 0 / 1.088 GB, free: 6.414 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001868/0.9316, allocations: 19.86 kB / 1.088 GB, free: 6.395 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0002909/0.9319, allocations: 39.7 kB / 1.088 GB, free: 6.355 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006234/0.9326, allocations: 155.5 kB / 1.088 GB, free: 6.203 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002607/0.9329, allocations: 143.5 kB / 1.088 GB, free: 6.062 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001534/0.933, allocations: 25.09 kB / 1.088 GB, free: 6.035 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004761/0.9335, allocations: 143.6 kB / 1.088 GB, free: 5.895 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001453/0.9337, allocations: 51.81 kB / 1.089 GB, free: 5.844 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.529e-05/0.9337, allocations: 8 kB / 1.089 GB, free: 5.836 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003907/0.9341, allocations: 155.7 kB / 1.089 GB, free: 5.684 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 5.097e-05/0.9342, allocations: 23.89 kB / 1.089 GB, free: 5.66 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 5.488e-05/0.9342, allocations: 41.64 kB / 1.089 GB, free: 5.613 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002672/0.9345, allocations: 138 kB / 1.089 GB, free: 5.48 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.9345, allocations: 0 / 1.089 GB, free: 5.48 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.292e-06/0.9345, allocations: 0 / 1.089 GB, free: 5.48 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.91e-06/0.9345, allocations: 4 kB / 1.089 GB, free: 5.477 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0009764/0.9355, allocations: 466.7 kB / 1.089 GB, free: 4.973 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/0.9356, allocations: 12.03 kB / 1.089 GB, free: 4.961 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.312e-05/0.9356, allocations: 34.56 kB / 1.089 GB, free: 4.918 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007272/0.9364, allocations: 59.75 kB / 1.089 GB, free: 4.859 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002624/0.9367, allocations: 198.9 kB / 1.09 GB, free: 4.625 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.9367, allocations: 4 kB / 1.09 GB, free: 4.621 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.123e-05/0.9367, allocations: 11.95 kB / 1.09 GB, free: 4.609 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006032/0.9373, allocations: 195.9 kB / 1.09 GB, free: 4.398 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.9374, allocations: 3.984 kB / 1.09 GB, free: 4.395 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.572e-05/0.9374, allocations: 11.94 kB / 1.09 GB, free: 4.383 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.9374, allocations: 0 / 1.09 GB, free: 4.383 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006824/0.9381, allocations: 167.8 kB / 1.09 GB, free: 4.219 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001078/0.9392, allocations: 0.8284 MB / 1.091 GB, free: 3.312 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003715/0.9396, allocations: 138.5 kB / 1.091 GB, free: 3.168 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002408/0.9398, allocations: 92.8 kB / 1.091 GB, free: 3.074 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.445e-05/0.9399, allocations: 4 kB / 1.091 GB, free: 3.07 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.164e-05/0.9399, allocations: 30.56 kB / 1.091 GB, free: 3.031 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=8): time 1.192e-06/0.9399, allocations: 4 kB / 1.091 GB, free: 3.027 MB / 0.8419 GB Notification: Performance of matching and sorting (n=8): time 0.001802/0.9417, allocations: 491.3 kB / 1.092 GB, free: 2.52 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.221e-05/0.9418, allocations: 55.41 kB / 1.092 GB, free: 2.453 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001312/0.9419, allocations: 147.5 kB / 1.092 GB, free: 2.297 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.243e-05/0.9419, allocations: 29.7 kB / 1.092 GB, free: 2.262 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.705e-05/0.942, allocations: 108.2 kB / 1.092 GB, free: 2.152 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.182e-05/0.942, allocations: 31.55 kB / 1.092 GB, free: 2.121 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.125e-05/0.9421, allocations: 7.938 kB / 1.092 GB, free: 2.113 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001113/0.9422, allocations: 322.8 kB / 1.092 GB, free: 1.789 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002337/0.9424, allocations: 83.86 kB / 1.092 GB, free: 1.707 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002458/0.9427, allocations: 112.2 kB / 1.092 GB, free: 1.582 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002348/0.9429, allocations: 87.94 kB / 1.092 GB, free: 1.496 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.9429, allocations: 4 kB / 1.092 GB, free: 1.492 MB / 0.8419 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0009316/0.9439, allocations: 294.4 kB / 1.093 GB, free: 1.195 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.9439, allocations: 8 kB / 1.093 GB, free: 1.188 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.9439, allocations: 4.203 kB / 1.093 GB, free: 1.184 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005163/0.9444, allocations: 84.77 kB / 1.093 GB, free: 1.098 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002107/0.9446, allocations: 39.95 kB / 1.093 GB, free: 1.059 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002334/0.947, allocations: 1.557 MB / 1.094 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003167/0.9473, allocations: 35.81 kB / 1.094 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.631e-05/0.9474, allocations: 4 kB / 1.094 GB, free: 15.33 MB / 0.8575 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.0001432/0.9475, allocations: 121.9 kB / 1.095 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.813e-05/0.9476, allocations: 11.91 kB / 1.095 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001495/0.9491, allocations: 337.9 kB / 1.095 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.9491, allocations: 0 / 1.095 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.893e-06/0.9491, allocations: 0 / 1.095 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.9491, allocations: 3.984 kB / 1.095 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003773/0.9495, allocations: 241.4 kB / 1.095 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.9495, allocations: 3.953 kB / 1.095 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002944/0.9498, allocations: 35.97 kB / 1.095 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006622/0.9505, allocations: 92.7 kB / 1.095 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.682e-05/0.9506, allocations: 3.984 kB / 1.095 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00242/0.953, allocations: 1.571 MB / 1.097 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.953, allocations: 0 / 1.097 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001425/0.9544, allocations: 407.9 kB / 1.097 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001222/0.9546, allocations: 104.9 kB / 1.097 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.621e-05/0.9546, allocations: 4 kB / 1.097 GB, free: 12.17 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002974/0.9549, allocations: 23.91 kB / 1.097 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.134e-05/0.955, allocations: 15.98 kB / 1.097 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.466e-05/0.9551, allocations: 4 kB / 1.097 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.000121/0.9552, allocations: 121.5 kB / 1.097 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.51e-07/0.9552, allocations: 0 / 1.097 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0005529/0.9558, allocations: 40 kB / 1.097 GB, free: 11.97 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 (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.0019/0.9577, allocations: 0.9394 MB / 1.098 GB, free: 11 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001211/0.9589, allocations: 330.1 kB / 1.099 GB, free: 10.67 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.9589, allocations: 0 / 1.099 GB, free: 10.67 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0007264/0.9597, allocations: 246.5 kB / 1.099 GB, free: 10.42 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004904/0.9602, allocations: 31.94 kB / 1.099 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003343/0.9635, allocations: 1.057 MB / 1.1 GB, free: 9.27 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004778/0.964, allocations: 0.7127 MB / 1.101 GB, free: 8.531 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0002518/0.9643, allocations: 24.81 kB / 1.101 GB, free: 8.508 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001145/0.9644, allocations: 31.42 kB / 1.101 GB, free: 8.477 MB / 0.8575 GB Notification: Performance of SimCode: time 1.242e-06/0.9644, allocations: 0 / 1.101 GB, free: 8.477 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01847/0.9829, allocations: 4.236 MB / 1.105 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000215/0.9832, allocations: 226.9 kB / 1.105 GB, free: 4.211 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.892/2.875, allocations: 0 / 1.105 GB, free: 4.211 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.mat does not exist to compare? outputFormat=mat