Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.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_LimitedCapacity,fileNamePrefix="Buildings_9_Buildings_Fluid_Chillers_Validation_Carnot_TEva_LimitedCapacity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity,fileNamePrefix="Buildings_9_Buildings_Fluid_Chillers_Validation_Carnot_TEva_LimitedCapacity",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.0008758/0.0008759, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0008239/0.0008239, allocations: 172.7 kB / 15.95 MB, free: 208 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.461/1.461, allocations: 223.3 MB / 240 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.552/2.552, allocations: 390.4 MB / 0.6655 GB, free: 2.914 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003578/0.0003579, allocations: 12 kB / 0.8149 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7598/0.7602, allocations: 142.3 MB / 0.9538 GB, free: 8.086 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity): time 0.05418/0.8144, allocations: 56.53 MB / 1.009 GB, free: 7.465 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01632/0.8308, allocations: 11.21 MB / 1.02 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002185/0.833, allocations: 59.56 kB / 1.02 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001678/0.8347, allocations: 464.9 kB / 1.02 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.004523/0.8392, allocations: 1.531 MB / 1.022 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.002702/0.842, allocations: 0.8603 MB / 1.023 GB, free: 9.324 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.004732/0.8467, allocations: 3.386 MB / 1.026 GB, free: 5.93 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001394/0.8481, allocations: 0.7938 MB / 1.027 GB, free: 5.105 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002464/0.8506, allocations: 1.042 MB / 1.028 GB, free: 4.059 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001234/0.8518, allocations: 0.7971 MB / 1.029 GB, free: 3.258 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001158/0.8519, allocations: 44 kB / 1.029 GB, free: 3.215 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002606/0.8546, allocations: 1.115 MB / 1.03 GB, free: 2.098 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002562/0.8548, allocations: 203 kB / 1.03 GB, free: 1.898 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0003944/0.8552, allocations: 289 kB / 1.03 GB, free: 1.609 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001903/0.8572, allocations: 1.637 MB / 1.032 GB, free: 15.97 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.8572, allocations: 0 / 1.032 GB, free: 15.97 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.613e-06/0.8572, allocations: 0 / 1.032 GB, free: 15.97 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.378e-05/0.8572, allocations: 0 / 1.032 GB, free: 15.97 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.002532/0.8597, allocations: 1.501 MB / 1.033 GB, free: 14.41 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.8598, allocations: 16.02 kB / 1.033 GB, free: 14.39 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001375/0.8599, allocations: 122.7 kB / 1.034 GB, free: 14.27 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001433/0.8614, allocations: 386 kB / 1.034 GB, free: 13.89 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001876/0.8633, allocations: 1.078 MB / 1.035 GB, free: 12.75 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002986/0.8636, allocations: 133.9 kB / 1.035 GB, free: 12.62 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001116/0.8637, allocations: 80 kB / 1.035 GB, free: 12.54 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001725/0.8654, allocations: 0.966 MB / 1.036 GB, free: 11.53 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/0.8654, allocations: 0 / 1.036 GB, free: 11.53 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.388e-05/0.8655, allocations: 32 kB / 1.036 GB, free: 11.5 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.948e-05/0.8656, allocations: 20 kB / 1.036 GB, free: 11.48 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001888/0.8674, allocations: 0.843 MB / 1.037 GB, free: 10.64 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.005661/0.8731, allocations: 4.792 MB / 1.042 GB, free: 5.492 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001423/0.8746, allocations: 0.5988 MB / 1.042 GB, free: 4.887 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005883/0.8752, allocations: 280.7 kB / 1.042 GB, free: 4.609 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001303/0.8765, allocations: 1.396 MB / 1.044 GB, free: 2.918 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.067e-05/0.8765, allocations: 42.56 kB / 1.044 GB, free: 2.867 MB / 0.795 GB Notification: Performance of pre-optimization done (n=43): time 2.485e-06/0.8765, allocations: 0 / 1.044 GB, free: 2.867 MB / 0.795 GB Notification: Performance of matching and sorting (n=43): time 0.006297/0.8828, allocations: 1.836 MB / 1.046 GB, free: 1 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.341e-05/0.8829, allocations: 59.41 kB / 1.046 GB, free: 0.9297 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001633/0.8845, allocations: 1.048 MB / 1.047 GB, free: 15.87 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 6.283e-05/0.8846, allocations: 33.7 kB / 1.047 GB, free: 15.83 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004722/0.8851, allocations: 0.5235 MB / 1.047 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001251/0.8852, allocations: 149.8 kB / 1.047 GB, free: 15.15 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.247e-05/0.8853, allocations: 12 kB / 1.047 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.8854, allocations: 326 kB / 1.048 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00067/0.886, allocations: 284.9 kB / 1.048 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008707/0.8869, allocations: 493.3 kB / 1.049 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000745/0.8877, allocations: 331.3 kB / 1.049 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.8877, allocations: 3.938 kB / 1.049 GB, free: 13.65 MB / 0.8106 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002158/0.8899, allocations: 0.9689 MB / 1.05 GB, free: 12.67 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001432/0.89, allocations: 210 kB / 1.05 GB, free: 12.41 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/0.89, allocations: 8 kB / 1.05 GB, free: 12.4 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001189/0.8912, allocations: 334.6 kB / 1.05 GB, free: 12.07 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004408/0.8917, allocations: 115.9 kB / 1.05 GB, free: 11.96 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001349/0.893, allocations: 0.9387 MB / 1.051 GB, free: 11 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001068/0.8941, allocations: 179.2 kB / 1.051 GB, free: 10.82 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.839e-05/0.8942, allocations: 27.98 kB / 1.052 GB, free: 10.79 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 6.462e-06/0.8942, allocations: 4 kB / 1.052 GB, free: 10.79 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001976/0.8962, allocations: 0.8434 MB / 1.052 GB, free: 9.941 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.8962, allocations: 4 kB / 1.052 GB, free: 9.938 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009573/0.8972, allocations: 322.5 kB / 1.053 GB, free: 9.621 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004177/0.8976, allocations: 111.8 kB / 1.053 GB, free: 9.512 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001433/0.8991, allocations: 0.9425 MB / 1.054 GB, free: 8.543 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001036/0.9001, allocations: 151.5 kB / 1.054 GB, free: 8.395 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.549e-05/0.9002, allocations: 27.98 kB / 1.054 GB, free: 8.367 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (51): * Single equations (assignments): 50 * 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.0005179/0.9007, allocations: 349 kB / 1.054 GB, free: 8.016 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001487/0.9008, allocations: 118.7 kB / 1.054 GB, free: 7.898 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002703/0.9036, allocations: 1.089 MB / 1.055 GB, free: 6.797 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.259e-05/0.9036, allocations: 4 kB / 1.055 GB, free: 6.793 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.9036, allocations: 0 / 1.055 GB, free: 6.793 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-06/0.9036, allocations: 3.984 kB / 1.055 GB, free: 6.789 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004479/0.9081, allocations: 2.161 MB / 1.057 GB, free: 4.547 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.542e-06/0.9081, allocations: 8.031 kB / 1.057 GB, free: 4.539 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002047/0.9083, allocations: 59.91 kB / 1.058 GB, free: 4.48 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009357/0.9093, allocations: 316.6 kB / 1.058 GB, free: 4.168 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.638e-05/0.9093, allocations: 15.95 kB / 1.058 GB, free: 4.152 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001349/0.9107, allocations: 0.9715 MB / 1.059 GB, free: 3.156 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.9107, allocations: 7.969 kB / 1.059 GB, free: 3.148 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002915/0.9136, allocations: 1.18 MB / 1.06 GB, free: 1.922 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004725/0.9141, allocations: 283.5 kB / 1.06 GB, free: 1.625 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001251/0.9142, allocations: 8 kB / 1.06 GB, free: 1.617 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000763/0.915, allocations: 103.8 kB / 1.06 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.826e-05/0.9151, allocations: 47.72 kB / 1.06 GB, free: 1.469 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.936e-05/0.9151, allocations: 27.97 kB / 1.06 GB, free: 1.441 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001089/0.9162, allocations: 0.7313 MB / 1.061 GB, free: 0.7031 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9163, allocations: 0 / 1.061 GB, free: 0.7031 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001427/0.9177, allocations: 0.5692 MB / 1.062 GB, free: 136 kB / 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 (33): * Single equations (assignments): 28 * 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.003765/0.9215, allocations: 2.012 MB / 1.064 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.002497/0.924, allocations: 1.051 MB / 1.065 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.924, allocations: 8 kB / 1.065 GB, free: 13.01 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0006897/0.9247, allocations: 322.4 kB / 1.065 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002118/0.9268, allocations: 0.4899 MB / 1.065 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01197/0.9388, allocations: 6.476 MB / 1.072 GB, free: 5.426 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000578/0.9394, allocations: 1.061 MB / 1.073 GB, free: 4.332 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0008833/0.9403, allocations: 223.4 kB / 1.073 GB, free: 4.113 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004789/0.9408, allocations: 403.3 kB / 1.073 GB, free: 3.719 MB / 0.8262 GB Notification: Performance of SimCode: time 1.312e-06/0.9408, allocations: 0 / 1.073 GB, free: 3.719 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05256/0.9933, allocations: 33.4 MB / 1.106 GB, free: 2.824 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001944/0.9936, allocations: 272.5 kB / 1.106 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.543/3.536, allocations: 6.875 kB / 1.106 GB, free: 2.461 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe ; mkfifo Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe >> ../files/Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Chillers_Validation_Carnot_TEva_LimitedCapacity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Chillers_Validation_Carnot_TEva_LimitedCapacity.fmu > Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity_res.mat does not exist to compare? outputFormat=mat