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.3/2.3, allocations: 390.3 MB / 402.8 MB, free: 6.703 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.001324/0.001325, allocations: 169 kB / 496.1 MB, free: 12.9 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.452/1.452, allocations: 221.3 MB / 0.7915 GB, free: 5.418 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.0008756/0.0008756, allocations: 91.95 kB / 0.9317 GB, free: 5.738 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.231e-05/4.268e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3004/0.3005, allocations: 143 MB / 1.219 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.255/1.555, allocations: 435.4 MB / 1.644 GB, free: 15.09 MB / 1.104 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003103/1.555, allocations: 91.94 kB / 1.644 GB, free: 15 MB / 1.104 GB Notification: Performance of FrontEnd - DAE generated: time 4.457/6.012, allocations: 1.068 GB / 2.712 GB, free: 247.5 MB / 1.151 GB Notification: Performance of FrontEnd: time 4.158e-06/6.012, allocations: 0 / 2.712 GB, free: 247.5 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001618/6.012, allocations: 41.48 kB / 2.712 GB, free: 247.5 MB / 1.151 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.004512/6.017, allocations: 1.494 MB / 2.713 GB, free: 246.7 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 7.634e-05/6.017, allocations: 10.44 kB / 2.713 GB, free: 246.7 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001994/6.017, allocations: 121.2 kB / 2.713 GB, free: 246.7 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001682/6.019, allocations: 352.5 kB / 2.714 GB, free: 246.6 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003018/6.022, allocations: 1.259 MB / 2.715 GB, free: 246.1 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003721/6.022, allocations: 131.2 kB / 2.715 GB, free: 246.1 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001212/6.022, allocations: 83.19 kB / 2.715 GB, free: 246.1 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001564/6.024, allocations: 0.851 MB / 2.716 GB, free: 245.6 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.253e-05/6.024, allocations: 1.5 kB / 2.716 GB, free: 245.6 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.988e-05/6.024, allocations: 41.45 kB / 2.716 GB, free: 245.6 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.733e-05/6.024, allocations: 29.91 kB / 2.716 GB, free: 245.6 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001121/6.025, allocations: 0.6253 MB / 2.717 GB, free: 245.4 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.005711/6.031, allocations: 4.623 MB / 2.721 GB, free: 242 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008115/6.032, allocations: 440.9 kB / 2.722 GB, free: 241.9 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002698/6.032, allocations: 196 kB / 2.722 GB, free: 241.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00111/6.033, allocations: 1.371 MB / 2.723 GB, free: 240.3 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.712e-05/6.033, allocations: 44.08 kB / 2.723 GB, free: 240.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=42): time 3.105e-06/6.033, allocations: 0 / 2.723 GB, free: 240.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=42): time 0.002551/6.036, allocations: 0.7419 MB / 2.724 GB, free: 240 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.003e-05/6.036, allocations: 57.34 kB / 2.724 GB, free: 239.9 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001088/6.037, allocations: 0.8996 MB / 2.725 GB, free: 239.5 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.344e-05/6.037, allocations: 41.61 kB / 2.725 GB, free: 239.5 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003467/6.037, allocations: 0.5356 MB / 2.725 GB, free: 239 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001036/6.038, allocations: 143.8 kB / 2.726 GB, free: 238.9 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.987e-05/6.038, allocations: 11.94 kB / 2.726 GB, free: 238.9 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.824e-05/6.038, allocations: 324.2 kB / 2.726 GB, free: 238.6 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002818/6.038, allocations: 161.1 kB / 2.726 GB, free: 238.6 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004184/6.038, allocations: 408.6 kB / 2.726 GB, free: 238.2 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003096/6.039, allocations: 224 kB / 2.727 GB, free: 238.1 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/6.039, allocations: 0 / 2.727 GB, free: 238.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001019/6.04, allocations: 0.6845 MB / 2.727 GB, free: 237.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002917/6.04, allocations: 1.576 MB / 2.729 GB, free: 236.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.318e-06/6.04, allocations: 3.688 kB / 2.729 GB, free: 236.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008213/6.041, allocations: 255.9 kB / 2.729 GB, free: 236.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004128/6.041, allocations: 105.3 kB / 2.729 GB, free: 236.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007338/6.042, allocations: 0.8315 MB / 2.73 GB, free: 235.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001236/6.043, allocations: 181.4 kB / 2.73 GB, free: 235.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.886e-05/6.043, allocations: 32.98 kB / 2.73 GB, free: 235.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.949e-06/6.043, allocations: 3.812 kB / 2.73 GB, free: 235.4 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008548/6.044, allocations: 0.5586 MB / 2.731 GB, free: 235.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/6.044, allocations: 3.938 kB / 2.731 GB, free: 235.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006611/6.045, allocations: 258.7 kB / 2.731 GB, free: 235.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003896/6.045, allocations: 101.7 kB / 2.731 GB, free: 235.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006635/6.046, allocations: 0.8276 MB / 2.732 GB, free: 234.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00102/6.047, allocations: 155.9 kB / 2.732 GB, free: 234.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.714e-05/6.047, allocations: 33.58 kB / 2.732 GB, free: 234.4 MB / 1.151 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 () * 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.0001555/6.047, allocations: 143 kB / 2.732 GB, free: 234.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001403/6.047, allocations: 111.4 kB / 2.732 GB, free: 234.3 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002645/6.05, allocations: 0.9212 MB / 2.733 GB, free: 234 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.389e-05/6.05, allocations: 11.41 kB / 2.733 GB, free: 233.9 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/6.05, allocations: 0 / 2.733 GB, free: 233.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/6.05, allocations: 3.844 kB / 2.733 GB, free: 233.9 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00381/6.054, allocations: 1.947 MB / 2.735 GB, free: 233 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/6.054, allocations: 3.906 kB / 2.735 GB, free: 233 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001885/6.054, allocations: 52.83 kB / 2.735 GB, free: 233 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006674/6.055, allocations: 266.1 kB / 2.735 GB, free: 233 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.237e-05/6.055, allocations: 19.23 kB / 2.735 GB, free: 233 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006793/6.056, allocations: 0.8516 MB / 2.736 GB, free: 232.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/6.056, allocations: 8.094 kB / 2.736 GB, free: 232.3 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002472/6.058, allocations: 1.114 MB / 2.737 GB, free: 231.7 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000471/6.059, allocations: 275.7 kB / 2.738 GB, free: 231.5 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001163/6.059, allocations: 11.28 kB / 2.738 GB, free: 231.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008038/6.059, allocations: 105.8 kB / 2.738 GB, free: 231.5 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.253e-05/6.06, allocations: 37.5 kB / 2.738 GB, free: 231.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.028e-05/6.06, allocations: 22.92 kB / 2.738 GB, free: 231.5 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0008763/6.06, allocations: 0.7036 MB / 2.739 GB, free: 231.1 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.9e-07/6.06, allocations: 0 / 2.739 GB, free: 231.1 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001762/6.062, allocations: 0.636 MB / 2.739 GB, free: 231 MB / 1.151 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 () * 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.004003/6.066, allocations: 2.803 MB / 2.742 GB, free: 229.2 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001799/6.068, allocations: 0.8263 MB / 2.743 GB, free: 228.9 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/6.068, allocations: 0 / 2.743 GB, free: 228.9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004074/6.069, allocations: 261.1 kB / 2.743 GB, free: 228.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002293/6.071, allocations: 499.8 kB / 2.743 GB, free: 228.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003475/6.074, allocations: 1.593 MB / 2.745 GB, free: 228 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004433/6.075, allocations: 1.09 MB / 2.746 GB, free: 227.3 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001139/6.076, allocations: 269.8 kB / 2.746 GB, free: 227.2 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004096/6.076, allocations: 391.1 kB / 2.747 GB, free: 226.9 MB / 1.151 GB Notification: Performance of SimCode: time 6.51e-07/6.076, allocations: 3.938 kB / 2.747 GB, free: 226.9 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06354/6.14, allocations: 40.43 MB / 2.786 GB, free: 198.1 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002362/6.14, allocations: 247.3 kB / 2.786 GB, free: 197.8 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.273/9.413, allocations: 2.875 kB / 2.786 GB, free: 197.8 MB / 1.151 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