Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL.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_etaPL,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_TEva_etaPL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_TEva_etaPL",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.411/2.411, allocations: 393.5 MB / 408.4 MB, free: 11 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.001096/0.001096, allocations: 186 kB / 0.4901 GB, free: 2.25 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.622/1.622, allocations: 223.1 MB / 0.7992 GB, free: 14.73 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.001048/0.001048, allocations: 95.12 kB / 0.9396 GB, free: 1.918 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003733/0.0003734, allocations: 10.34 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3147/0.3151, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.192/1.507, allocations: 435.4 MB / 1.654 GB, free: 10.89 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002872/1.507, allocations: 95.83 kB / 1.655 GB, free: 10.84 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 3.655/5.162, allocations: 1.071 GB / 2.726 GB, free: 33.57 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.292e-06/5.162, allocations: 0 / 2.726 GB, free: 33.57 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002303/5.162, allocations: 31.98 kB / 2.726 GB, free: 33.54 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.004836/5.167, allocations: 1.726 MB / 2.727 GB, free: 31.75 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/5.167, allocations: 8.031 kB / 2.727 GB, free: 31.74 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003433/5.167, allocations: 122.7 kB / 2.728 GB, free: 31.61 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001758/5.169, allocations: 350.1 kB / 2.728 GB, free: 31.27 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003106/5.172, allocations: 1.274 MB / 2.729 GB, free: 29.94 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000355/5.173, allocations: 130.6 kB / 2.729 GB, free: 29.81 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002249/5.173, allocations: 84 kB / 2.729 GB, free: 29.73 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001957/5.175, allocations: 0.9669 MB / 2.73 GB, free: 28.71 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.183e-05/5.175, allocations: 0 / 2.73 GB, free: 28.71 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-05/5.175, allocations: 32 kB / 2.73 GB, free: 28.68 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.822e-05/5.175, allocations: 29.98 kB / 2.73 GB, free: 28.65 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001948/5.177, allocations: 0.8392 MB / 2.731 GB, free: 27.81 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.006255/5.183, allocations: 4.639 MB / 2.736 GB, free: 22.85 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001455/5.185, allocations: 0.6045 MB / 2.736 GB, free: 22.24 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001001/5.186, allocations: 1.365 MB / 2.738 GB, free: 20.58 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/5.186, allocations: 34.56 kB / 2.738 GB, free: 20.54 MB / 1.167 GB Notification: Performance of pre-optimization done (n=43): time 3.076e-06/5.186, allocations: 0 / 2.738 GB, free: 20.54 MB / 1.167 GB Notification: Performance of matching and sorting (n=43): time 0.008118/5.194, allocations: 2.118 MB / 2.74 GB, free: 18.39 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.768e-05/5.194, allocations: 55.41 kB / 2.74 GB, free: 18.32 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001802/5.196, allocations: 0.9523 MB / 2.741 GB, free: 17.36 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001056/5.196, allocations: 37.7 kB / 2.741 GB, free: 17.31 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003938/5.196, allocations: 0.5276 MB / 2.741 GB, free: 16.78 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001219/5.196, allocations: 149.8 kB / 2.741 GB, free: 16.63 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.599e-05/5.197, allocations: 8 kB / 2.741 GB, free: 16.62 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.205e-05/5.197, allocations: 329.9 kB / 2.742 GB, free: 16.3 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006662/5.197, allocations: 269 kB / 2.742 GB, free: 16.04 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007916/5.198, allocations: 0.5042 MB / 2.742 GB, free: 15.43 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006997/5.199, allocations: 313.8 kB / 2.743 GB, free: 15.13 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.111e-06/5.199, allocations: 4 kB / 2.743 GB, free: 15.12 MB / 1.167 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.002313/5.201, allocations: 0.9424 MB / 2.744 GB, free: 14.17 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.000333/5.201, allocations: 1.498 MB / 2.745 GB, free: 12.57 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/5.201, allocations: 4 kB / 2.745 GB, free: 12.56 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001363/5.203, allocations: 357.6 kB / 2.746 GB, free: 12.21 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004524/5.203, allocations: 107.9 kB / 2.746 GB, free: 12.11 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001442/5.205, allocations: 0.9708 MB / 2.747 GB, free: 11.11 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001615/5.206, allocations: 191.1 kB / 2.747 GB, free: 10.92 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000101/5.207, allocations: 31.98 kB / 2.747 GB, free: 10.89 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/5.207, allocations: 4 kB / 2.747 GB, free: 10.89 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00192/5.208, allocations: 0.8009 MB / 2.748 GB, free: 10.08 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/5.208, allocations: 4 kB / 2.748 GB, free: 10.08 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001163/5.21, allocations: 353.8 kB / 2.748 GB, free: 9.73 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004078/5.21, allocations: 111.9 kB / 2.748 GB, free: 9.621 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001281/5.211, allocations: 0.9682 MB / 2.749 GB, free: 8.629 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001319/5.213, allocations: 163.3 kB / 2.749 GB, free: 8.469 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.047e-05/5.213, allocations: 39.95 kB / 2.749 GB, free: 8.43 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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.000684/5.213, allocations: 345.2 kB / 2.749 GB, free: 8.082 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003109/5.214, allocations: 114.6 kB / 2.75 GB, free: 7.969 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003603/5.217, allocations: 1.119 MB / 2.751 GB, free: 6.836 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-05/5.217, allocations: 8 kB / 2.751 GB, free: 6.828 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/5.217, allocations: 0 / 2.751 GB, free: 6.828 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/5.217, allocations: 7.922 kB / 2.751 GB, free: 6.82 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00512/5.223, allocations: 2.134 MB / 2.753 GB, free: 4.605 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.005e-06/5.223, allocations: 7.984 kB / 2.753 GB, free: 4.598 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001949/5.223, allocations: 47.98 kB / 2.753 GB, free: 4.551 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001131/5.224, allocations: 364.7 kB / 2.753 GB, free: 4.191 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.265e-05/5.224, allocations: 16 kB / 2.753 GB, free: 4.176 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001345/5.225, allocations: 0.9949 MB / 2.754 GB, free: 3.156 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.101e-06/5.225, allocations: 19.89 kB / 2.754 GB, free: 3.137 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003329/5.229, allocations: 1.302 MB / 2.755 GB, free: 1.75 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007244/5.229, allocations: 279.4 kB / 2.756 GB, free: 1.457 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002941/5.23, allocations: 8 kB / 2.756 GB, free: 1.449 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001046/5.231, allocations: 107.7 kB / 2.756 GB, free: 1.344 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.377e-05/5.231, allocations: 39.88 kB / 2.756 GB, free: 1.305 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.866e-05/5.231, allocations: 23.98 kB / 2.756 GB, free: 1.281 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001337/5.232, allocations: 0.7508 MB / 2.757 GB, free: 0.5234 MB / 1.167 GB Notification: Performance of sort global known variables: time 3.4e-07/5.232, allocations: 0 / 2.757 GB, free: 0.5234 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.7704/6.003, allocations: 0.6376 MB / 2.757 GB, free: 245.3 MB / 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 (32): * Single equations (assignments): 27 * 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.006134/6.009, allocations: 2.977 MB / 2.76 GB, free: 243.9 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002931/6.012, allocations: 1.034 MB / 2.761 GB, free: 243.9 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 7.244e-06/6.012, allocations: 2.594 kB / 2.761 GB, free: 243.9 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001002/6.013, allocations: 345.6 kB / 2.762 GB, free: 243.9 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00307/6.016, allocations: 0.4949 MB / 2.762 GB, free: 243.9 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.015/6.031, allocations: 8.868 MB / 2.771 GB, free: 239.3 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008071/6.032, allocations: 1.083 MB / 2.772 GB, free: 238.6 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001351/6.033, allocations: 214.5 kB / 2.772 GB, free: 238.6 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005492/6.034, allocations: 413.5 kB / 2.772 GB, free: 238.6 MB / 1.167 GB Notification: Performance of SimCode: time 1.143e-06/6.034, allocations: 0 / 2.772 GB, free: 238.6 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0798/6.114, allocations: 38.51 MB / 2.81 GB, free: 238.1 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001919/6.114, allocations: 269.8 kB / 2.81 GB, free: 237.8 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.477/9.591, allocations: 0 / 2.81 GB, free: 237.8 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_TEva_etaPL_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_TEva_etaPL.fmu > Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL_res.mat does not exist to compare? outputFormat=mat