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.00124/0.00124, allocations: 99.86 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.001414/0.001414, 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.365/1.365, allocations: 223.2 MB / 239.9 MB, free: 5.34 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.366/2.366, allocations: 390.3 MB / 0.6653 GB, free: 2.977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003409/0.000341, allocations: 8 kB / 0.8146 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7191/0.7194, allocations: 142.3 MB / 0.9536 GB, free: 8.059 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity): time 0.05032/0.7698, allocations: 51.34 MB / 1.004 GB, free: 12.7 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01537/0.7852, allocations: 10.31 MB / 1.014 GB, free: 2.371 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002986/0.7883, allocations: 51.62 kB / 1.014 GB, free: 2.32 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.002555/0.7908, allocations: 0.6257 MB / 1.014 GB, free: 1.691 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.006671/0.7975, allocations: 1.954 MB / 1.016 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.004211/0.8018, allocations: 1.31 MB / 1.018 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.003893/0.8057, allocations: 1.847 MB / 1.019 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001408/0.8071, allocations: 0.8057 MB / 1.02 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00232/0.8094, allocations: 0.9847 MB / 1.021 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001244/0.8107, allocations: 0.6027 MB / 1.022 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001314/0.8108, allocations: 40 kB / 1.022 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00254/0.8134, allocations: 1.006 MB / 1.023 GB, free: 9.125 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002658/0.8137, allocations: 195.1 kB / 1.023 GB, free: 8.934 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0004429/0.8141, allocations: 285 kB / 1.023 GB, free: 8.648 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.002325/0.8165, allocations: 1.586 MB / 1.025 GB, free: 7.059 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.267e-06/0.8165, allocations: 0 / 1.025 GB, free: 7.059 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.595e-06/0.8165, allocations: 0 / 1.025 GB, free: 7.059 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.046e-05/0.8165, allocations: 0 / 1.025 GB, free: 7.059 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.003269/0.8198, allocations: 1.493 MB / 1.026 GB, free: 5.508 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.597e-05/0.8199, allocations: 8.031 kB / 1.026 GB, free: 5.5 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001833/0.82, allocations: 126.7 kB / 1.026 GB, free: 5.367 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001748/0.8218, allocations: 390 kB / 1.027 GB, free: 4.984 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002062/0.8239, allocations: 1.047 MB / 1.028 GB, free: 3.879 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003811/0.8243, allocations: 125.9 kB / 1.028 GB, free: 3.758 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001118/0.8244, allocations: 80 kB / 1.028 GB, free: 3.68 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001843/0.8262, allocations: 0.9583 MB / 1.029 GB, free: 2.676 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.86e-05/0.8263, allocations: 0 / 1.029 GB, free: 2.676 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.267e-05/0.8264, allocations: 36 kB / 1.029 GB, free: 2.641 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.316e-05/0.8264, allocations: 20 kB / 1.029 GB, free: 2.621 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00207/0.8285, allocations: 0.843 MB / 1.03 GB, free: 1.781 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.006511/0.835, allocations: 4.827 MB / 1.035 GB, free: 12.6 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001627/0.8366, allocations: 0.6026 MB / 1.035 GB, free: 11.99 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00136/0.838, allocations: 1.396 MB / 1.036 GB, free: 10.3 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.96e-05/0.8381, allocations: 42.5 kB / 1.036 GB, free: 10.25 MB / 0.795 GB Notification: Performance of pre-optimization done (n=43): time 2.625e-06/0.8381, allocations: 0 / 1.036 GB, free: 10.25 MB / 0.795 GB Notification: Performance of matching and sorting (n=43): time 0.0073/0.8454, allocations: 1.838 MB / 1.038 GB, free: 8.379 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.91e-05/0.8455, allocations: 55.41 kB / 1.038 GB, free: 8.312 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001596/0.8471, allocations: 1.067 MB / 1.039 GB, free: 7.23 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 7.75e-05/0.8471, allocations: 37.7 kB / 1.039 GB, free: 7.188 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004451/0.8476, allocations: 0.5235 MB / 1.04 GB, free: 6.66 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001314/0.8477, allocations: 145.8 kB / 1.04 GB, free: 6.516 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.225e-05/0.8478, allocations: 12 kB / 1.04 GB, free: 6.504 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.8479, allocations: 326 kB / 1.04 GB, free: 6.18 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007691/0.8487, allocations: 288.9 kB / 1.041 GB, free: 5.898 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000986/0.8497, allocations: 485.2 kB / 1.041 GB, free: 5.348 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008129/0.8505, allocations: 327.3 kB / 1.041 GB, free: 5.027 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.123e-06/0.8505, allocations: 7.938 kB / 1.041 GB, free: 5.02 MB / 0.795 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002461/0.853, allocations: 0.9614 MB / 1.042 GB, free: 4.047 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007347/0.8538, allocations: 1.588 MB / 1.044 GB, free: 2.344 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/0.8538, allocations: 4 kB / 1.044 GB, free: 2.34 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001398/0.8552, allocations: 325.6 kB / 1.044 GB, free: 2.02 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004724/0.8557, allocations: 119.9 kB / 1.044 GB, free: 1.902 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001564/0.8572, allocations: 0.937 MB / 1.045 GB, free: 0.9414 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001314/0.8586, allocations: 191.2 kB / 1.045 GB, free: 0.7539 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.406e-05/0.8587, allocations: 27.98 kB / 1.045 GB, free: 0.7266 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.8587, allocations: 5.406 kB / 1.045 GB, free: 0.7227 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002282/0.861, allocations: 0.8358 MB / 1.046 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.861, allocations: 4 kB / 1.046 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001161/0.8622, allocations: 320.8 kB / 1.047 GB, free: 15.56 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004726/0.8626, allocations: 115.8 kB / 1.047 GB, free: 15.45 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001515/0.8642, allocations: 0.9426 MB / 1.048 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001274/0.8655, allocations: 155.3 kB / 1.048 GB, free: 14.33 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.88e-05/0.8655, allocations: 31.98 kB / 1.048 GB, free: 14.3 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.0005567/0.8661, allocations: 345 kB / 1.048 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001711/0.8663, allocations: 110.6 kB / 1.048 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003216/0.8695, allocations: 1.073 MB / 1.049 GB, free: 12.75 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.45e-05/0.8695, allocations: 4 kB / 1.049 GB, free: 12.75 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.8696, allocations: 8 kB / 1.049 GB, free: 12.74 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.276e-05/0.8696, allocations: 3.984 kB / 1.049 GB, free: 12.74 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005507/0.8751, allocations: 2.184 MB / 1.051 GB, free: 10.47 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.401e-05/0.8752, allocations: 4 kB / 1.051 GB, free: 10.47 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000256/0.8754, allocations: 60.19 kB / 1.052 GB, free: 10.41 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001186/0.8766, allocations: 312.6 kB / 1.052 GB, free: 10.1 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.986e-05/0.8767, allocations: 15.98 kB / 1.052 GB, free: 10.09 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001634/0.8783, allocations: 0.9789 MB / 1.053 GB, free: 9.082 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/0.8783, allocations: 4 kB / 1.053 GB, free: 9.078 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003721/0.8821, allocations: 1.302 MB / 1.054 GB, free: 7.684 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001071/0.8832, allocations: 275.5 kB / 1.054 GB, free: 7.395 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001911/0.8834, allocations: 27.86 kB / 1.054 GB, free: 7.367 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009387/0.8843, allocations: 99.81 kB / 1.054 GB, free: 7.27 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001253/0.8845, allocations: 43.83 kB / 1.054 GB, free: 7.227 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.948e-05/0.8845, allocations: 23.98 kB / 1.055 GB, free: 7.203 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001643/0.8862, allocations: 0.7469 MB / 1.055 GB, free: 6.449 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.9e-07/0.8862, allocations: 0 / 1.055 GB, free: 6.449 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001992/0.8882, allocations: 0.577 MB / 1.056 GB, free: 5.871 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 (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.004918/0.8931, allocations: 2.746 MB / 1.058 GB, free: 3.043 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.002949/0.8961, allocations: 1.055 MB / 1.06 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.8961, allocations: 0 / 1.06 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0007932/0.8969, allocations: 330.5 kB / 1.06 GB, free: 1.664 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002524/0.8995, allocations: 499.7 kB / 1.06 GB, free: 1.18 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005579/0.9051, allocations: 5.65 MB / 1.066 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006166/0.9057, allocations: 1.093 MB / 1.067 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0009342/0.9067, allocations: 215 kB / 1.067 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005059/0.9072, allocations: 407.3 kB / 1.067 GB, free: 9.637 MB / 0.8262 GB Notification: Performance of SimCode: time 8.52e-07/0.9072, allocations: 0 / 1.067 GB, free: 9.637 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0563/0.9635, allocations: 33.12 MB / 1.1 GB, free: 9.016 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002176/0.9637, allocations: 264.6 kB / 1.1 GB, free: 8.656 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.544/3.508, allocations: 0 / 1.1 GB, free: 8.656 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