Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.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.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature,fileNamePrefix="Buildings_9_Buildings_Fluid_Chillers_Validation_Carnot_TEva_HighTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature,fileNamePrefix="Buildings_9_Buildings_Fluid_Chillers_Validation_Carnot_TEva_HighTemperature",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.0009586/0.0009585, allocations: 100.5 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.0009306/0.0009305, allocations: 177.3 kB / 15.94 MB, free: 228 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.455/1.455, allocations: 223.2 MB / 239.9 MB, free: 5.445 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.35/2.35, allocations: 390.3 MB / 0.6653 GB, free: 2.945 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003176/0.0003176, allocations: 8 kB / 0.8146 GB, free: 14.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7232/0.7235, allocations: 142.3 MB / 0.9536 GB, free: 8.082 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature): time 0.054/0.7776, allocations: 51.38 MB / 1.004 GB, free: 12.68 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01475/0.7923, allocations: 10.32 MB / 1.014 GB, free: 2.336 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00216/0.7945, allocations: 51.62 kB / 1.014 GB, free: 2.285 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.002126/0.7967, allocations: 0.6218 MB / 1.014 GB, free: 1.66 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.005724/0.8024, allocations: 1.959 MB / 1.016 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.003706/0.8062, allocations: 1.308 MB / 1.018 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.003533/0.8097, allocations: 1.861 MB / 1.02 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00122/0.8109, allocations: 0.8303 MB / 1.02 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001886/0.8128, allocations: 0.9886 MB / 1.021 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008395/0.8137, allocations: 0.6066 MB / 1.022 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001005/0.8138, allocations: 40 kB / 1.022 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002051/0.8159, allocations: 0.9868 MB / 1.023 GB, free: 9.066 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001993/0.8161, allocations: 203.1 kB / 1.023 GB, free: 8.867 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002735/0.8164, allocations: 293 kB / 1.023 GB, free: 8.574 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001856/0.8182, allocations: 1.59 MB / 1.025 GB, free: 6.98 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.8182, allocations: 0 / 1.025 GB, free: 6.98 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.126e-06/0.8182, allocations: 0 / 1.025 GB, free: 6.98 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.385e-05/0.8183, allocations: 3.938 kB / 1.025 GB, free: 6.977 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.002751/0.821, allocations: 1.512 MB / 1.026 GB, free: 5.406 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/0.8211, allocations: 8.031 kB / 1.026 GB, free: 5.398 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001461/0.8212, allocations: 122.8 kB / 1.027 GB, free: 5.27 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002223/0.8235, allocations: 473.9 kB / 1.027 GB, free: 4.805 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001897/0.8254, allocations: 1.051 MB / 1.028 GB, free: 3.695 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003756/0.8258, allocations: 141.8 kB / 1.028 GB, free: 3.559 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001203/0.8259, allocations: 76 kB / 1.028 GB, free: 3.484 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002067/0.828, allocations: 1.017 MB / 1.029 GB, free: 2.422 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.237e-05/0.828, allocations: 7.938 kB / 1.029 GB, free: 2.414 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-05/0.8281, allocations: 35.94 kB / 1.029 GB, free: 2.379 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.864e-05/0.8281, allocations: 16 kB / 1.029 GB, free: 2.363 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002471/0.8306, allocations: 0.9446 MB / 1.03 GB, free: 1.422 MB / 0.7794 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007216/0.8378, allocations: 4.913 MB / 1.035 GB, free: 12.15 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003621/0.8415, allocations: 0.9214 MB / 1.036 GB, free: 11.22 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007202/0.8422, allocations: 0.9025 MB / 1.037 GB, free: 10.12 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.516e-05/0.8423, allocations: 34.56 kB / 1.037 GB, free: 10.07 MB / 0.795 GB Notification: Performance of pre-optimization done (n=44): time 2.424e-06/0.8423, allocations: 0 / 1.037 GB, free: 10.07 MB / 0.795 GB Notification: Performance of matching and sorting (n=44): time 0.006698/0.849, allocations: 1.842 MB / 1.039 GB, free: 8.203 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.772e-05/0.8491, allocations: 55.41 kB / 1.039 GB, free: 8.137 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001646/0.8507, allocations: 1.068 MB / 1.04 GB, free: 7.055 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 9.556e-05/0.8508, allocations: 41.7 kB / 1.04 GB, free: 7.008 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004121/0.8512, allocations: 0.5274 MB / 1.04 GB, free: 6.477 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001441/0.8514, allocations: 157.7 kB / 1.04 GB, free: 6.32 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.652e-05/0.8514, allocations: 8 kB / 1.04 GB, free: 6.312 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.8516, allocations: 333.9 kB / 1.041 GB, free: 5.98 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009547/0.8525, allocations: 336.9 kB / 1.041 GB, free: 5.648 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001105/0.8537, allocations: 0.5408 MB / 1.042 GB, free: 5.027 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009938/0.8547, allocations: 375.5 kB / 1.042 GB, free: 4.66 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/0.8547, allocations: 0 / 1.042 GB, free: 4.66 MB / 0.795 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003846/0.8585, allocations: 1.242 MB / 1.043 GB, free: 3.406 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006765/0.8592, allocations: 1.673 MB / 1.045 GB, free: 1.613 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-05/0.8592, allocations: 4 kB / 1.045 GB, free: 1.609 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001276/0.8605, allocations: 332.6 kB / 1.045 GB, free: 1.281 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005907/0.8611, allocations: 139.8 kB / 1.045 GB, free: 1.145 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001508/0.8626, allocations: 0.9284 MB / 1.046 GB, free: 196 kB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001386/0.864, allocations: 211.2 kB / 1.046 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.918e-05/0.8641, allocations: 27.98 kB / 1.046 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.8641, allocations: 5.094 kB / 1.046 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003397/0.8675, allocations: 1.108 MB / 1.047 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.8676, allocations: 8 kB / 1.047 GB, free: 14.83 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001146/0.8687, allocations: 326.4 kB / 1.048 GB, free: 14.51 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005989/0.8693, allocations: 139.8 kB / 1.048 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001482/0.8708, allocations: 0.927 MB / 1.049 GB, free: 13.42 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001287/0.8721, allocations: 183.2 kB / 1.049 GB, free: 13.24 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.212e-05/0.8722, allocations: 31.98 kB / 1.049 GB, free: 13.21 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (52): * Single equations (assignments): 51 * 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 14} Notification: Performance of prepare postOptimizeDAE: time 0.0005482/0.8728, allocations: 352.9 kB / 1.049 GB, free: 12.86 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001601/0.8729, allocations: 110.6 kB / 1.049 GB, free: 12.75 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003412/0.8764, allocations: 1.186 MB / 1.051 GB, free: 11.55 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.414e-05/0.8764, allocations: 7.984 kB / 1.051 GB, free: 11.54 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/0.8764, allocations: 4 kB / 1.051 GB, free: 11.54 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/0.8764, allocations: 3.984 kB / 1.051 GB, free: 11.53 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005343/0.8818, allocations: 2.319 MB / 1.053 GB, free: 9.129 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.307e-06/0.8818, allocations: 8.062 kB / 1.053 GB, free: 9.121 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000338/0.8821, allocations: 71.89 kB / 1.053 GB, free: 9.051 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001087/0.8832, allocations: 324.6 kB / 1.053 GB, free: 8.73 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.98e-05/0.8833, allocations: 19.98 kB / 1.053 GB, free: 8.711 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001491/0.8848, allocations: 0.9634 MB / 1.054 GB, free: 7.723 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.8848, allocations: 7.938 kB / 1.054 GB, free: 7.715 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003954/0.8888, allocations: 1.429 MB / 1.056 GB, free: 6.195 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006836/0.8895, allocations: 287.4 kB / 1.056 GB, free: 5.895 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001542/0.8896, allocations: 19.94 kB / 1.056 GB, free: 5.875 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009276/0.8906, allocations: 127.7 kB / 1.056 GB, free: 5.75 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001283/0.8907, allocations: 35.94 kB / 1.056 GB, free: 5.715 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.042e-05/0.8908, allocations: 24 kB / 1.056 GB, free: 5.691 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001296/0.8921, allocations: 0.7471 MB / 1.057 GB, free: 4.938 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.91e-07/0.8921, allocations: 0 / 1.057 GB, free: 4.938 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001846/0.894, allocations: 0.5731 MB / 1.057 GB, free: 4.363 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (34): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.005483/0.8995, allocations: 2.863 MB / 1.06 GB, free: 1.414 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.003517/0.903, allocations: 1.223 MB / 1.061 GB, free: 200 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 7.094e-06/0.903, allocations: 4 kB / 1.061 GB, free: 196 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0009927/0.904, allocations: 390.5 kB / 1.062 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002491/0.9065, allocations: 0.4953 MB / 1.062 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007906/0.9145, allocations: 6.106 MB / 1.068 GB, free: 9.043 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006691/0.9152, allocations: 1.089 MB / 1.069 GB, free: 7.926 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.001029/0.9162, allocations: 219.8 kB / 1.069 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005193/0.9167, allocations: 411.3 kB / 1.07 GB, free: 7.309 MB / 0.8262 GB Notification: Performance of SimCode: time 9.72e-07/0.9167, allocations: 0 / 1.07 GB, free: 7.309 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07635/0.9931, allocations: 33.17 MB / 1.102 GB, free: 6.641 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003192/0.9935, allocations: 264.6 kB / 1.103 GB, free: 6.281 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.555/3.548, allocations: 4.062 kB / 1.103 GB, free: 6.277 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.pipe ; mkfifo Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.pipe >> ../files/Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Chillers_Validation_Carnot_TEva_HighTemperature_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Chillers_Validation_Carnot_TEva_HighTemperature.fmu > Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature_res.mat does not exist to compare? outputFormat=mat