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.000958/0.000958, allocations: 100.3 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.0009622/0.0009622, 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.398/1.398, 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.493/2.493, allocations: 390.3 MB / 0.6653 GB, free: 2.957 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003991/0.0003992, allocations: 8 kB / 0.8146 GB, free: 14.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.759/0.7594, allocations: 142.3 MB / 0.9536 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.001701/0.7611, allocations: 1.34 MB / 0.9549 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1566/0.9178, allocations: 126.5 MB / 1.078 GB, free: 15.97 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001347/0.918, allocations: 0 / 1.078 GB, free: 15.97 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.000195/0.9182, allocations: 15.92 kB / 1.078 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0002608/0.9185, allocations: 51.84 kB / 1.078 GB, free: 15.9 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005057/0.919, allocations: 159.6 kB / 1.079 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001589/0.9192, allocations: 99.8 kB / 1.079 GB, free: 15.65 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001381/0.9193, allocations: 28.98 kB / 1.079 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002773/0.9196, allocations: 111.7 kB / 1.079 GB, free: 15.51 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001057/0.9197, allocations: 55.81 kB / 1.079 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.903e-05/0.9198, allocations: 4 kB / 1.079 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002946/0.9201, allocations: 167.8 kB / 1.079 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 4.724e-05/0.9201, allocations: 19.92 kB / 1.079 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.018e-05/0.9202, allocations: 41.64 kB / 1.079 GB, free: 15.22 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002687/0.9205, allocations: 142 kB / 1.079 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.9205, allocations: 0 / 1.079 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.914e-06/0.9205, allocations: 3.938 kB / 1.079 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 3.837e-06/0.9205, allocations: 0 / 1.079 GB, free: 15.08 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.0008514/0.9213, allocations: 454.8 kB / 1.08 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.9214, allocations: 12.03 kB / 1.08 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.437e-05/0.9215, allocations: 46.55 kB / 1.08 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006012/0.9221, allocations: 55.75 kB / 1.08 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002367/0.9223, allocations: 194.9 kB / 1.08 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.818e-06/0.9223, allocations: 0 / 1.08 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.742e-05/0.9224, allocations: 19.95 kB / 1.08 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000465/0.9228, allocations: 187.9 kB / 1.08 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.9229, allocations: 7.922 kB / 1.08 GB, free: 14 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.181e-05/0.9229, allocations: 4 kB / 1.08 GB, free: 14 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.9229, allocations: 4 kB / 1.08 GB, free: 14 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005072/0.9234, allocations: 159.8 kB / 1.08 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001202/0.9246, allocations: 0.8323 MB / 1.081 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004066/0.925, allocations: 150.4 kB / 1.081 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.186e-05/0.9251, allocations: 4 kB / 1.081 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.018e-05/0.9251, allocations: 34.56 kB / 1.081 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=8): time 1.363e-06/0.9251, allocations: 0 / 1.081 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of matching and sorting (n=8): time 0.001882/0.927, allocations: 487.3 kB / 1.082 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.547e-05/0.927, allocations: 59.41 kB / 1.082 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001356/0.9272, allocations: 148.5 kB / 1.082 GB, free: 12 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.634e-05/0.9272, allocations: 29.7 kB / 1.082 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 7.485e-05/0.9273, allocations: 108.2 kB / 1.082 GB, free: 11.85 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.224e-05/0.9273, allocations: 31.55 kB / 1.082 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.067e-05/0.9274, allocations: 0 / 1.082 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.9275, allocations: 322.8 kB / 1.082 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002586/0.9278, allocations: 83.92 kB / 1.083 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002686/0.928, allocations: 112.2 kB / 1.083 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00027/0.9283, allocations: 87.88 kB / 1.083 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.9283, allocations: 0 / 1.083 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001028/0.9294, allocations: 306.4 kB / 1.083 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.356e-05/0.9294, allocations: 9.25 kB / 1.083 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.9294, allocations: 3.938 kB / 1.083 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005725/0.93, allocations: 88.89 kB / 1.083 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002225/0.9302, allocations: 35.95 kB / 1.083 GB, free: 10.76 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002107/0.9323, allocations: 1.563 MB / 1.085 GB, free: 9.059 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002322/0.9326, allocations: 35.92 kB / 1.085 GB, free: 9.023 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.909e-05/0.9326, allocations: 7.984 kB / 1.085 GB, free: 9.016 MB / 0.8419 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.0001261/0.9327, allocations: 121.8 kB / 1.085 GB, free: 8.887 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.8e-05/0.9328, allocations: 7.906 kB / 1.085 GB, free: 8.879 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001148/0.9339, allocations: 334.9 kB / 1.085 GB, free: 8.543 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/0.934, allocations: 4 kB / 1.085 GB, free: 8.539 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.934, allocations: 0 / 1.085 GB, free: 8.539 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.934, allocations: 0 / 1.085 GB, free: 8.539 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002716/0.9342, allocations: 245.3 kB / 1.085 GB, free: 8.25 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.9343, allocations: 336 / 1.085 GB, free: 8.25 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002108/0.9345, allocations: 43.84 kB / 1.085 GB, free: 8.207 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00049/0.935, allocations: 92.75 kB / 1.086 GB, free: 8.113 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.611e-05/0.935, allocations: 0 / 1.086 GB, free: 8.113 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001913/0.9369, allocations: 1.579 MB / 1.087 GB, free: 6.395 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.9369, allocations: 0 / 1.087 GB, free: 6.395 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001079/0.938, allocations: 411.1 kB / 1.088 GB, free: 5.977 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001126/0.9381, allocations: 104.9 kB / 1.088 GB, free: 5.855 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.8e-05/0.9382, allocations: 0 / 1.088 GB, free: 5.855 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000224/0.9384, allocations: 27.97 kB / 1.088 GB, free: 5.828 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.352e-05/0.9385, allocations: 11.98 kB / 1.088 GB, free: 5.816 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.954e-05/0.9385, allocations: 8 kB / 1.088 GB, free: 5.809 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 9.364e-05/0.9386, allocations: 112.1 kB / 1.088 GB, free: 5.699 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1e-07/0.9386, allocations: 0 / 1.088 GB, free: 5.699 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003728/0.939, allocations: 43.94 kB / 1.088 GB, free: 5.656 MB / 0.8419 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.001563/0.9406, allocations: 0.9511 MB / 1.089 GB, free: 4.676 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0009124/0.9415, allocations: 318.7 kB / 1.089 GB, free: 4.352 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.9415, allocations: 4 kB / 1.089 GB, free: 4.348 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0005498/0.9421, allocations: 242.5 kB / 1.089 GB, free: 4.098 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000257/0.9423, allocations: 27.94 kB / 1.089 GB, free: 4.07 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003186/0.9455, allocations: 1.657 MB / 1.091 GB, free: 2.352 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003066/0.9459, allocations: 0.7166 MB / 1.092 GB, free: 1.609 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001794/0.946, allocations: 29.08 kB / 1.092 GB, free: 1.582 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.539e-05/0.9461, allocations: 39.41 kB / 1.092 GB, free: 1.543 MB / 0.8419 GB Notification: Performance of SimCode: time 4.91e-07/0.9462, allocations: 0 / 1.092 GB, free: 1.543 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01723/0.9634, allocations: 4.211 MB / 1.096 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002912/0.9637, allocations: 215 kB / 1.096 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.901/2.865, allocations: 0 / 1.096 GB, free: 13.3 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