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.0007794/0.0007795, allocations: 88.56 kB / 15.06 MB, free: 1.094 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.0008564/0.0008564, allocations: 172.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.426/1.426, allocations: 223.3 MB / 240 MB, free: 5.43 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.388/2.388, allocations: 390.4 MB / 0.6655 GB, free: 2.883 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004568/0.0004572, allocations: 8 kB / 0.8149 GB, free: 14.09 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8297/0.8301, allocations: 142.3 MB / 0.9538 GB, free: 8.047 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature): time 0.05105/0.8812, allocations: 56.58 MB / 1.009 GB, free: 7.406 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01482/0.8961, allocations: 11.23 MB / 1.02 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003021/0.8992, allocations: 51.62 kB / 1.02 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.002469/0.9017, allocations: 464.9 kB / 1.021 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.00605/0.9078, allocations: 1.541 MB / 1.022 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.002663/0.9104, allocations: 0.8624 MB / 1.023 GB, free: 9.242 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.004479/0.9149, allocations: 3.408 MB / 1.026 GB, free: 5.828 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001342/0.9163, allocations: 0.7989 MB / 1.027 GB, free: 5.004 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002158/0.9184, allocations: 1.046 MB / 1.028 GB, free: 3.953 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001135/0.9196, allocations: 0.8087 MB / 1.029 GB, free: 3.141 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001119/0.9197, allocations: 44 kB / 1.029 GB, free: 3.098 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002371/0.9221, allocations: 1.099 MB / 1.03 GB, free: 1.996 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002239/0.9223, allocations: 207 kB / 1.03 GB, free: 1.793 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0003989/0.9227, allocations: 285 kB / 1.03 GB, free: 1.508 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.002053/0.9248, allocations: 1.641 MB / 1.032 GB, free: 15.86 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.9248, allocations: 0 / 1.032 GB, free: 15.86 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.533e-06/0.9248, allocations: 0 / 1.032 GB, free: 15.86 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.809e-05/0.9249, allocations: 0 / 1.032 GB, free: 15.86 MB / 0.795 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.002538/0.9274, allocations: 1.532 MB / 1.033 GB, free: 14.27 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.935e-05/0.9275, allocations: 8.031 kB / 1.034 GB, free: 14.27 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001508/0.9276, allocations: 126.7 kB / 1.034 GB, free: 14.13 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001988/0.9296, allocations: 477.9 kB / 1.034 GB, free: 13.66 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002309/0.9319, allocations: 1.086 MB / 1.035 GB, free: 12.52 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003257/0.9323, allocations: 129.9 kB / 1.035 GB, free: 12.39 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001195/0.9324, allocations: 80 kB / 1.035 GB, free: 12.32 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002025/0.9344, allocations: 1.028 MB / 1.036 GB, free: 11.24 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.929e-05/0.9345, allocations: 7.938 kB / 1.036 GB, free: 11.23 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.687e-05/0.9346, allocations: 32 kB / 1.036 GB, free: 11.2 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.614e-05/0.9346, allocations: 20 kB / 1.036 GB, free: 11.18 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002227/0.9368, allocations: 0.9407 MB / 1.037 GB, free: 10.25 MB / 0.795 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.00599/0.9428, allocations: 4.89 MB / 1.042 GB, free: 5 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003138/0.946, allocations: 0.9124 MB / 1.043 GB, free: 4.082 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007298/0.9467, allocations: 342.2 kB / 1.043 GB, free: 3.746 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005896/0.9473, allocations: 0.8986 MB / 1.044 GB, free: 2.645 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.44e-05/0.9473, allocations: 38.56 kB / 1.044 GB, free: 2.598 MB / 0.795 GB Notification: Performance of pre-optimization done (n=44): time 2.435e-06/0.9474, allocations: 4 kB / 1.044 GB, free: 2.594 MB / 0.795 GB Notification: Performance of matching and sorting (n=44): time 0.005855/0.9532, allocations: 1.84 MB / 1.046 GB, free: 0.7227 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.633e-05/0.9533, allocations: 55.41 kB / 1.046 GB, free: 0.6562 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001512/0.9548, allocations: 1.048 MB / 1.047 GB, free: 15.59 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 8.141e-05/0.9549, allocations: 37.7 kB / 1.047 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004263/0.9553, allocations: 0.535 MB / 1.048 GB, free: 15.01 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.000127/0.9555, allocations: 153.8 kB / 1.048 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.407e-05/0.9555, allocations: 12 kB / 1.048 GB, free: 14.85 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.9556, allocations: 330 kB / 1.048 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008422/0.9565, allocations: 336.9 kB / 1.048 GB, free: 14.19 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009875/0.9574, allocations: 0.5487 MB / 1.049 GB, free: 13.56 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008841/0.9583, allocations: 375.5 kB / 1.049 GB, free: 13.19 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.9584, allocations: 7.938 kB / 1.049 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003535/0.9619, allocations: 1.238 MB / 1.051 GB, free: 11.93 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001809/0.9621, allocations: 213.7 kB / 1.051 GB, free: 11.66 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/0.9621, allocations: 4 kB / 1.051 GB, free: 11.66 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001233/0.9634, allocations: 332.6 kB / 1.051 GB, free: 11.33 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005521/0.9639, allocations: 139.8 kB / 1.051 GB, free: 11.2 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001467/0.9654, allocations: 0.9444 MB / 1.052 GB, free: 10.23 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001549/0.967, allocations: 199.3 kB / 1.052 GB, free: 10.03 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.354e-05/0.9671, allocations: 27.98 kB / 1.052 GB, free: 10 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.9671, allocations: 4 kB / 1.052 GB, free: 10 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003128/0.9702, allocations: 1.101 MB / 1.053 GB, free: 8.895 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.9702, allocations: 8 kB / 1.053 GB, free: 8.887 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001032/0.9713, allocations: 321.2 kB / 1.054 GB, free: 8.57 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005286/0.9718, allocations: 139.8 kB / 1.054 GB, free: 8.434 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001327/0.9732, allocations: 0.9347 MB / 1.055 GB, free: 7.473 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001248/0.9744, allocations: 179.4 kB / 1.055 GB, free: 7.297 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.619e-05/0.9745, allocations: 28 kB / 1.055 GB, free: 7.27 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.0006258/0.9751, allocations: 352.9 kB / 1.055 GB, free: 6.914 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001704/0.9753, allocations: 114.6 kB / 1.055 GB, free: 6.801 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003079/0.9784, allocations: 1.189 MB / 1.057 GB, free: 5.598 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.053e-05/0.9784, allocations: 8 kB / 1.057 GB, free: 5.59 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.9784, allocations: 0 / 1.057 GB, free: 5.59 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/0.9784, allocations: 3.984 kB / 1.057 GB, free: 5.586 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004966/0.9834, allocations: 2.304 MB / 1.059 GB, free: 3.199 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.065e-05/0.9834, allocations: 4 kB / 1.059 GB, free: 3.195 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003132/0.9838, allocations: 84.16 kB / 1.059 GB, free: 3.113 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009605/0.9847, allocations: 326.2 kB / 1.059 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.871e-05/0.9848, allocations: 15.98 kB / 1.059 GB, free: 2.777 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001333/0.9861, allocations: 0.9698 MB / 1.06 GB, free: 1.781 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.9861, allocations: 3.984 kB / 1.06 GB, free: 1.777 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003422/0.9896, allocations: 1.314 MB / 1.062 GB, free: 428 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004514/0.99, allocations: 287.4 kB / 1.062 GB, free: 120 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001318/0.9902, allocations: 12 kB / 1.062 GB, free: 108 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008712/0.9911, allocations: 115.8 kB / 1.062 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.603e-05/0.9911, allocations: 39.89 kB / 1.062 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.002e-05/0.9912, allocations: 27.98 kB / 1.062 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001152/0.9924, allocations: 0.7354 MB / 1.063 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of sort global known variables: time 3.3e-07/0.9924, allocations: 0 / 1.063 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001474/0.9939, allocations: 0.5613 MB / 1.063 GB, free: 14.62 MB / 0.8262 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.004197/0.9981, allocations: 2.13 MB / 1.065 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.003108/1.001, allocations: 1.223 MB / 1.067 GB, free: 11.22 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/1.001, allocations: 7.938 kB / 1.067 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0009063/1.002, allocations: 390.4 kB / 1.067 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002293/1.004, allocations: 0.4982 MB / 1.067 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01462/1.019, allocations: 6.973 MB / 1.074 GB, free: 3.035 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005702/1.02, allocations: 1.065 MB / 1.075 GB, free: 1.941 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0009967/1.021, allocations: 227.8 kB / 1.075 GB, free: 1.719 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005272/1.021, allocations: 411.3 kB / 1.076 GB, free: 1.316 MB / 0.8262 GB Notification: Performance of SimCode: time 8.92e-07/1.021, allocations: 0 / 1.076 GB, free: 1.316 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05742/1.079, allocations: 33.48 MB / 1.109 GB, free: 364 kB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000216/1.079, allocations: 265.9 kB / 1.109 GB, free: 0 / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.603/3.682, allocations: 0 / 1.109 GB, free: 0 / 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