Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_TEva_LimitedCapacity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity,fileNamePrefix="Buildings_latest_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/Buildings 10.0.0-master/package.mo): time 2.334/2.334, allocations: 393.5 MB / 408.4 MB, free: 10.96 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001149/0.001149, allocations: 183.6 kB / 0.4901 GB, free: 2.227 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.542/1.542, allocations: 223.1 MB / 0.7992 GB, free: 14.77 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 102.7 kB / 0.9396 GB, free: 1.914 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000471/0.0004712, allocations: 6.812 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3509/0.3514, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.127/1.478, allocations: 435.4 MB / 1.654 GB, free: 10.9 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002755/1.479, allocations: 100.3 kB / 1.655 GB, free: 10.84 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 3.611/5.089, allocations: 1.071 GB / 2.726 GB, free: 33.58 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.714e-06/5.089, allocations: 0 / 2.726 GB, free: 33.58 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002037/5.09, allocations: 31.98 kB / 2.726 GB, free: 33.55 MB / 1.167 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.004784/5.094, allocations: 1.723 MB / 2.727 GB, free: 31.76 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/5.094, allocations: 12.03 kB / 2.727 GB, free: 31.75 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003181/5.095, allocations: 134.6 kB / 2.728 GB, free: 31.61 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001689/5.097, allocations: 350.1 kB / 2.728 GB, free: 31.27 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00313/5.1, allocations: 1.262 MB / 2.729 GB, free: 29.95 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003626/5.1, allocations: 130.6 kB / 2.729 GB, free: 29.82 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001933/5.1, allocations: 80 kB / 2.729 GB, free: 29.74 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001908/5.102, allocations: 0.963 MB / 2.73 GB, free: 28.73 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.182e-05/5.102, allocations: 0 / 2.73 GB, free: 28.73 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.837e-05/5.102, allocations: 36 kB / 2.73 GB, free: 28.7 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.096e-05/5.102, allocations: 33.94 kB / 2.73 GB, free: 28.66 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001977/5.104, allocations: 0.8275 MB / 2.731 GB, free: 27.84 MB / 1.167 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.00609/5.11, allocations: 4.627 MB / 2.736 GB, free: 22.89 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00147/5.112, allocations: 0.5934 MB / 2.736 GB, free: 22.29 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009603/5.113, allocations: 1.365 MB / 2.738 GB, free: 20.62 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.488e-05/5.113, allocations: 42.55 kB / 2.738 GB, free: 20.57 MB / 1.167 GB Notification: Performance of pre-optimization done (n=42): time 2.715e-06/5.113, allocations: 0 / 2.738 GB, free: 20.57 MB / 1.167 GB Notification: Performance of matching and sorting (n=42): time 0.007681/5.121, allocations: 1.911 MB / 2.739 GB, free: 18.63 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.492e-05/5.121, allocations: 55.41 kB / 2.739 GB, free: 18.57 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001496/5.122, allocations: 0.9523 MB / 2.74 GB, free: 17.6 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 7.84e-05/5.122, allocations: 37.7 kB / 2.74 GB, free: 17.56 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003418/5.123, allocations: 0.5314 MB / 2.741 GB, free: 17.02 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001047/5.123, allocations: 145.9 kB / 2.741 GB, free: 16.88 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.179e-05/5.123, allocations: 8 kB / 2.741 GB, free: 16.87 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 5.773e-05/5.123, allocations: 337.9 kB / 2.741 GB, free: 16.54 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006593/5.124, allocations: 268.9 kB / 2.742 GB, free: 16.27 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007879/5.124, allocations: 0.491 MB / 2.742 GB, free: 15.68 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000722/5.125, allocations: 319.4 kB / 2.742 GB, free: 15.37 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/5.125, allocations: 0 / 2.742 GB, free: 15.37 MB / 1.167 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.002157/5.127, allocations: 0.93 MB / 2.743 GB, free: 14.43 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003022/5.128, allocations: 1.592 MB / 2.745 GB, free: 12.72 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/5.128, allocations: 4 kB / 2.745 GB, free: 12.71 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00131/5.129, allocations: 353.4 kB / 2.745 GB, free: 12.37 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000419/5.129, allocations: 103.9 kB / 2.745 GB, free: 12.27 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001315/5.131, allocations: 0.9712 MB / 2.746 GB, free: 11.27 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001378/5.132, allocations: 191.2 kB / 2.747 GB, free: 11.08 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.953e-05/5.132, allocations: 27.98 kB / 2.747 GB, free: 11.05 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.039e-05/5.132, allocations: 4 kB / 2.747 GB, free: 11.05 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001872/5.134, allocations: 0.8007 MB / 2.747 GB, free: 10.25 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/5.134, allocations: 8.031 kB / 2.747 GB, free: 10.24 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001093/5.135, allocations: 350.4 kB / 2.748 GB, free: 9.895 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003998/5.136, allocations: 103.9 kB / 2.748 GB, free: 9.793 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001269/5.137, allocations: 0.9716 MB / 2.749 GB, free: 8.797 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001223/5.138, allocations: 159.3 kB / 2.749 GB, free: 8.641 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.395e-05/5.138, allocations: 35.98 kB / 2.749 GB, free: 8.605 MB / 1.167 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 (46): * Single equations (assignments): 45 * 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 {2 15} Notification: Performance of prepare postOptimizeDAE: time 0.000564/5.139, allocations: 345.1 kB / 2.749 GB, free: 8.258 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002149/5.139, allocations: 114.6 kB / 2.749 GB, free: 8.145 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003465/5.142, allocations: 1.105 MB / 2.75 GB, free: 7.023 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.506e-05/5.142, allocations: 4 kB / 2.75 GB, free: 7.02 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/5.142, allocations: 0 / 2.75 GB, free: 7.02 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-06/5.142, allocations: 3.984 kB / 2.75 GB, free: 7.016 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004934/5.147, allocations: 2.137 MB / 2.753 GB, free: 4.801 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.713e-06/5.147, allocations: 8.062 kB / 2.753 GB, free: 4.793 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001934/5.148, allocations: 51.97 kB / 2.753 GB, free: 4.742 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001095/5.149, allocations: 360.5 kB / 2.753 GB, free: 4.387 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.005e-05/5.149, allocations: 12 kB / 2.753 GB, free: 4.375 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001313/5.15, allocations: 0.9986 MB / 2.754 GB, free: 3.352 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/5.15, allocations: 7.969 kB / 2.754 GB, free: 3.344 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003241/5.153, allocations: 1.294 MB / 2.755 GB, free: 1.961 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005943/5.154, allocations: 283.4 kB / 2.755 GB, free: 1.664 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002555/5.154, allocations: 11.94 kB / 2.755 GB, free: 1.652 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001055/5.155, allocations: 103.9 kB / 2.756 GB, free: 1.551 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/5.155, allocations: 39.84 kB / 2.756 GB, free: 1.512 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.935e-05/5.156, allocations: 23.98 kB / 2.756 GB, free: 1.488 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001427/5.157, allocations: 0.7508 MB / 2.756 GB, free: 0.7305 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.41e-07/5.157, allocations: 0 / 2.756 GB, free: 0.7305 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002262/5.159, allocations: 0.6393 MB / 2.757 GB, free: 92 kB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (31): * Single equations (assignments): 26 * 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 {2 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.6795/5.839, allocations: 2.955 MB / 2.76 GB, free: 244.9 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.003686/5.842, allocations: 1.05 MB / 2.761 GB, free: 244.9 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.064e-05/5.843, allocations: 2.594 kB / 2.761 GB, free: 244.9 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0008946/5.843, allocations: 331.7 kB / 2.761 GB, free: 244.9 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003091/5.847, allocations: 497.2 kB / 2.762 GB, free: 244.9 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01525/5.862, allocations: 8.978 MB / 2.77 GB, free: 240.2 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007861/5.863, allocations: 1.087 MB / 2.772 GB, free: 239.5 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001357/5.864, allocations: 210.3 kB / 2.772 GB, free: 239.5 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006659/5.865, allocations: 412.6 kB / 2.772 GB, free: 239.5 MB / 1.167 GB Notification: Performance of SimCode: time 1.993e-06/5.865, allocations: 3.062 kB / 2.772 GB, free: 239.5 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07233/5.937, allocations: 38.41 MB / 2.81 GB, free: 239 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001824/5.937, allocations: 274.8 kB / 2.81 GB, free: 238.7 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.439/9.376, allocations: 0 / 2.81 GB, free: 238.7 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_TEva_LimitedCapacity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_TEva_LimitedCapacity.fmu > Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity_res.mat does not exist to compare? outputFormat=mat